Polysomnography (Sleep Study) is a comprehensive diagnostic test that records your brain waves, oxygen saturation (SpO2), heart rate, breathing patterns, chest movements, and leg movements while you sleep. It is the gold-standard test for Obstructive Sleep Apnea (OSA).