A chapter is one of the main divisions of a piece of writing of relative length, such as a book of prose, poetry, or law. A chapter book may have multiple chapters and these can be referred to by the things that may be the main topic of that specific chapter. In each case, chapters can be numbered or titled or both. An example of a chapter that has become well known is "Down the Rabbit-Hole", which is the first chapter from Alice's Adventures in Wonderland.
Chapter structure
Many novels of great length have chapters. Non-fiction books, especially those used for reference, almost always have chapters for ease of navigation. In these works, chapters are often subdivided into sections. Larger works with a lot of chapters often group them in several 'parts' as the main subdivision of the book. The chapters of reference works are almost always listed in a table of contents. Novels sometimes use a table of contents, but not always. If chapters are used they are normally numbered sequentially; they may also have titles, and in a few cases an epigraph or prefatory quotation. In older novels it was a common practice to summarise the content of each chapter in the table of contents and/or in the beginning of the chapter.
Mammoth by John Varley has the chapters ordered chronologically from the point of view of a non-time-traveler, but, as most of the characters travel through time, this leads to the chapters defying the conventional order.
Ulysses by James Joyce has its 18 chapters labelled as episodes, with 3 books split between them.
Book-like
In ancient civilizations, books were often in the form of papyrus or parchment scrolls, which contained about the same amount of text as a typical chapter in a modern book. This is the reason chapters in recent reproductions and translations of works of these periods are often presented as "Book 1", "Book 2" etc. In the early printed era, long works were often published in multiple volumes, such as the Victorian triple decker novel, each divided into numerous chapters. Modern omnibus reprints will often retain the volume divisions. In some cases the chapters will be numbered consecutively all the way through, such that "Book 2" might begin with "Chapter 9", but in other cases the numbering might reset after each part. Even though the practice of dividing novels into separate volumes is rare in modern publishing, many authors still structure their works into "Books" or "Parts" and then subdivide them into chapters. A notable example of this is The Lord of the Rings which consists of six 'Books', each with a recognizable part of the story, although it is usually published in three volumes.