Document Structure in LaTeX – Complete Tutorial Series on LaTeX

Remember that the documentclass{} command must appear at the beginning of every LaTeX document. The text in curly braces indicates the class of the document.

Source: Document Structure in LaTeX – Complete Tutorial Series on LaTeX