Auxiliary files like `.aux`, `.toc` or e.g. `.out` etc. are files generated by LaTeX and packages which hold auxiliary information about the document. Specific information like sectioning titles or labels are written to these files. In following compiler runs this information is then read at the begin of the document so that there are globally available.