Performed in a private sleep room, a sleep study or polysomnogram involves special sensors that record the activity of your heart, lungs, brain, and muscles. Sensors also monitor the airflow from your nose and mouth and the level of oxygen in your blood.