Stroke can significantly impact mental health by causing emotional changes such as depression, anxiety, frustration, and mood swings. It can also lead to cognitive impairments like memory loss, difficulty concentrating, and reduced problem-solving abilities. These effects are often a result of damage to specific areas of the brain.