A sleep study is a diagnostic test that involves monitoring and recording your body systems while you sleep. This test can help diagnose conditions like sleep apnea.| Cleveland Clinic