Loneliness can significantly impact mental health. Prolonged loneliness is associated with increased risks of depression, anxiety, stress, and cognitive decline.