According to the journal Science, the function of sleep is one of the 125 greatest unsolved mysteries in science. Theories range from brain "maintenance" — including memory consolidation and pruning — to reversing damage from oxidative stress suffered while awake, to promoting longevity. None of these theories are well established, and many are mutually exclusive.
Now, a new analysis by Jerome Siegel, UCLA professor of psychiatry and director of the Center for Sleep Research at the Semel Institute for Neuroscience and Human Behavior at UCLA and the Sepulveda Veterans Affairs Medical Center, has concluded that sleep's primary function is to increase animals' efficiency and minimize their risk by regulating the duration and timing of their behavior.