The cognitive theory of depression suggests that negative thought patterns and cognitive distortions play a crucial role in the development and maintenance of depressive symptoms. This perspective emphasizes that individuals with depression often have a tendency to view situations through a negative lens, leading to feelings of hopelessness and helplessness, which are central features of major depressive disorder and persistent depressive disorder.