While we sleep, our brains stay active. Sleep affects our physical and mental health in many ways.