Sleep serves an essential regenerative purpose in all animal species, like recharging a low battery. A surefire way of feeling like crap and not being able to function optimally either mentally or physically is getting insufficient sleep the night before.