Cancer diagnosis and treatment can significantly impact a patient's mental health, leading to depression, anxiety, and emotional distress. CBT helps patients manage these psychological burdens by providing them with practical skills to cope with the illness and improve their quality of life.