Sleep is an essential part of brain function. During sleep the cortex is active, while consciousness has disappeared. During sleep, brain processes information, but in a different way than during waking. Disturbed sleep, either too short or of bad quality or flanked with frequent awakenings, has many disadvantages for health.