Sleep structure, also called sleep architecture or sleep microarchitecture, refers to the sleep stages, their duration and the pattern created by the transitions between them. In addition, the quality of each stage is also a part of sleep architecture.