Google docs presents: Table of Contents!
If you assign reports or long essays, a table of contents is crucial:
Set up the table of contents in the format menu, which provides hierarchical entries for heading, subheading, and minor heading. Next, go to the insert menu to place it on the first page. Read more about it at Google docs help center.