Sleep walking is a disorder that occurs during deep sleep, typically during the slow-wave sleep phase. During this phase, the brain is in a state of deep relaxation, and certain parts of the brain are not as responsive. However, the brain's neural activity is not completely dormant, leading to the possibility of performing complex behaviors while still asleep.