Final answer:
Parasomnias refer to patterns of waking behavior that occur during sleep, including sleepwalking and night terrors, and these disruptions can happen during both REM and NREM sleep.
Step-by-step explanation:
The patterns of waking behavior that appear during sleep are known as parasomnias. Parasomnias are a group of sleep disorders that include unwanted, disruptive motor activity and/or experiences during sleep. This can occur in both rapid eye movement (REM) and non-REM (NREM) phases of sleep. Sleepwalking, also known as somnambulism, involves the sleeper engaging in relatively complex behaviors while seemingly asleep, such as wandering around or even driving an automobile. Sleepwalking typically occurs during slow-wave sleep but can happen during any sleep period in affected individuals.