Polysomnography (PSG) is a comprehensive recording of the biophysiological changes that occur during sleep. It is often referred to as a sleep study and is used to diagnose and evaluate various sleep disorders. The test monitors several physiological parameters including brain activity, eye movements, muscle activity, heart rhythm, and breathing patterns.