What Is Sleepwalking?
By Joseph Bennington-CastroMedically Reviewed by Sanjai Sinha, MD
Some people who sleepwalk perform complex behaviors while asleep, such as driving.
Formally known as somnambulism, sleepwalking is a sleep disorder in which a person gets out of bed and walks around, or performs other activities, while still sleeping or in a sleeplike state.
Sleep is divided into two distinct states: rapid-eye movement (REM), during which vivid dreams occur, and non-rapid eye movement (NREM).
https://www.everydayhealth.com/sleepwalking/guide/