Sleep is essential for healthy physiological and psychological functioning, with studies linking sleep to functions as diverse as learning and memory, immune function and cellular maintenance. However, the specific function(s) of sleep is still debated.