As the brain stem powers down at night, it removes its stimulating influence to the sensory gate of the thalamus. With the closing of the sensory gate, we stop perceiving the outside world, and thus we fall asleep. What I did not tell you, however, was how the brain stem knows that it’s time to turn off the lights, so to speak, and power down wakefulness to begin sleep.

