Sleep is a brain state characterised by a low vigilance level and diminished consciousness. Reaction to and processing of external stimuli is attenuated in sleep. During sleep, the reticular thalamic nucleus reduces the flow of sensory activity to the cerebral cortex through inhibition of the thalamus. This sensory gating process facilitates sleep. After reaching the afferent layers of primary cortex, the reduced sensory flow is adjusted, gained, and processed within various cortical layers before being transferred by the corticofugal system back to appropriate subdivisions of the thalamus as feedback. Thalamic subdivisions then dispatch this sensory information to related areas of the cerebral cortex, where it is (sub)consciously perceived. When necessary, a sleeping individual can be awakened by a wake-up call, either by stimuli indicating danger, or by personally meaningful stimuli. It is safe for a sleeping individual that it can be aroused when necessary. Evidently, there are two processes by which the brain adjusts the response to sensory stimuli before entering (sub)consciousness. Firstly 'sensory gating', a process favourable to the maintenance of sleep by reducing the sensory input to the brain through the reticular thalamic nucleus and secondly 'sensory gaining', a process implying that the gained preserved sensory input is continuously analysed by the corticofugal system to detect dangerous and relevant environmental elements, indispensable for safeness and well-being of the sleeper.