Sleep deprivation is the condition of not having enough sleep. The condition affects the brain and its cognitive function. The condition can be either chronic or acute. Paradoxically, sleep deprivation can be used to treat certain disorders, such as clinical depression. Sleep deprivation has also been used as a form of torture.