Sleep is a complex biological process. While you are sleeping, you are unconscious, but your brain and body functions are still active. They are doing a number of important jobs that help you stay healthy and function at your best. So when you don't get enough quality sleep, it does more than just make you feel tired. It can affect your physical and mental health, thinking, and daily functioning.