To create a table of contents in LaTeX, simply insert the command \tableofcontents at the desired location in the document. Chapters are initiated using the command \chapter{...}, and there is no specific command to "end" a chapter; instead, new sections can be started directly. Other commands such as \begin{thebibliography}, \backmatter, or \end{document} can also be used to manage document structure.