Writing can have a positive impact on mental health by providing an outlet for emotions, reducing stress and anxiety, and increasing self-awareness.