A sleep study (or polysomnogram) helps doctors diagnose sleep problems. It is an overnight test that can record a variety of body functions while a child sleeps.| kidshealth.org