Polysomnography records several body functions during sleep, including brain activity, eye movement, oxygen and carbon dioxide blood levels, heart rate and rhythm, breathing rate and rhythm, the flow of air through the mouth and nose, snoring, body muscle movements, and chest and belly movement.[3]