See 93 hours to learn latex documentation. Have a good understanding of latex.
But a problem has been troubling me, the relationship between Latex and Tex.
First, Latex and Tex are a programming language, ctex similar to compilers. For example, C, C + + and Visual studio have similar relationships. (from Baidu know)
First there was Tex, but later people found that with Tex programming trouble, so the invention of Latex, easy to use Tex.
Similar: Latex is a macro language based on Tex. That is, each latex command is actually finally converted to explain several or even hundreds of TEX commands. But we don't have to worry about these complicated relationships. Similar to programming when using libraries and templates, just a few commands to complete, or similar to assembly language and binary languages, for ease of use. (from drink from)
Because using Latex is writing programs. According to various syntaxes, write a document with the suffix named *.tex, and then build to PDF.
About the relationship between Latex and Tex