The scientist then checked how well mice cleared toxins from their brains by injecting traces of protein that are implicated in Alzheimer's disease in their brains. These amyloid beta proteins were removed faster from the brains of sleeping mice then from mice that remained active.
Suggests that inactivity at night acts as a survival function, by keeping organisms out of harms way at times when they are most vulnerable. So basically, inactive organisms are quiet and most likely won't be seen by predators, or heard by them!
One of the strongest factors in natural selection is the competition for an effective utilization of energy resources! The energy conservation theory suggests that the primary function of sleep is to reduce on an individuals use of energy your body demands, especially at times when searching for food is least efficient!
Another explanation for why we sleep is based on the long-held belief that that sleep in some ways serve to "restore" what is lost in the body while we are awake. Sleep provides the body an opportunity to repair and rejuvenate itself. Organisms that lack sleep can't build up an immune system and die in just a matter of 2 weeks!