The sleep study is a test done to record the data of your sleeping patterns and body functioning. It is recorded to figure out if you are suffering from any sleep disorder or not. It is done in a particular place or a lab. The study of sleep is also known as Polysomnography

https://www.resmed.com/in/en/consumer/blogs/types-of-sleep-disorders.html