A sleep study is a complex neurophysiological recording conducted as part of an overall evaluation to look at what is happening during sleep. Many things are recorded including brain wave activity (EEG), muscle tone (EMG), heart rate (ECG), breathing patterns, oxygen levels, leg movements.