This diagnostic test is a study of the body and the brain waves during sleep. It is performed to identify sleep disorders. A sleep study can identify problems such as sleep apnea, narcolepsy, limb movement disorders and behavior disorders. A sleep study can also help a doctor determine the best course of treatment for a person who has a sleep disorder. The study may be performed at a hospital or a sleep center.