Our brains rely on sleep to maintain proper brain function. The more sleep you get, the better your brain functions. Lack of sleep can impact people who have already been diagnosed with anxiety, depression, bipolar disorder, and seasonal affective disorder. While sleep may not solve these disorders, getting enough sleep can certainly prevent them from getting worse.