Above we described our operating theory that OBEs occur when people lose input from their sense organs, as happens at the onset of sleep, while retaining consciousness. This combination of events is especially likely when a person passes directly from waking into REM sleep. In both states the mind is alert and active, but in waking it is processing sensory input from the outside world, while in dreaming it is creating a mental model independent of sensory input.