Chapters

Chapters are sets of floors which contain similar enemies, themes, bosses, and difficulties. Earlier chapters are divided into three floors, while later chapters contain one floor. Each chapter has different environments which, while retaining the same feel, have slightly different themes, enemies, bosses, and difficulties. Each environment also has its own music.

Level Generation
For the technical details of how each level / floor is generated, see Level Generation.