Polysomnography (PSG) is the primary tool used to assess sleep. PSG involves recording the electroencephalogram (EEG), electrooculogram (EOG), electromyogram (EMG), respiratory effort, airflow, and oxygen saturation. It provides information about sleep stages and architecture, respiratory events like apneas, and movements during sleep. Portable PSG allows for more natural sleep but provides less information than laboratory PSG. Various conditions can be diagnosed using PSG findings, including sleep apnea and periodic limb movement disorder.