A sleep study is a recording of brain waves, eye movements, muscle activity, heart rhythm, oxygen level, breathing effort, leg movement, nasal/oral air flow, body position by attaching several sensors on the body.