A table of contents is defined as an organized list containing the parts of a book or a document that are arranged in the order of their appearance. On the other hand, an index lists out the different topics and keywords in the book alphabetically. Also, a table of contents usually appears at the beginning of a book or paper, while the index appears at the end. A table of contents is a general outline of the document, whereas an index is a more detailed inventory of its contents.