A hobby is not a full time occupation, and it aims to relax the practitioner.
Exercise improves mental health. It's proven: Regular physical activity reduces stress, improves mood and boosts mental health, even helping to combat depression and anxiety.
Both are really good and can help a lot.