The TOC Composer provides a visual way to create books and pages for your table of contents. It's easy to use because you can right-click to open the dialog for creating new books and pages, drag and drop topics from the Topic List into the TOC Composer, and use the direction buttons on the toolbar to rearrange items after you add them.
You can even use an auto-create feature to quickly construct a complete table of contents automatically.