Regular exercise may help ease depression and anxiety by:Releasing feel-good endorphins, natural cannabis-like brain chemicals (endogenous cannabinoids) and other natural brain chemicals that can enhance your sense of well-beingTaking your mind off worries so you can get away from the cycle of negative thoughts that feed depression and anxiety Regular exercise has many psychological and emotional benefits, too. It can help you:Gain confidence. Meeting exercise goals or challenges, even small ones, can boost your self-confidence. Getting in shape can also make you feel better about your appearance.Get more social interaction. Exercise and physical activity may give you the chance to meet or socialize with others. Just exchanging a friendly smile or greeting as you walk around your neighborhood can help your mood.Cope in a healthy way. Doing something positive to manage depression or anxiety is a healthy coping strategy. Trying to feel better by drinking alcohol, dwelling on how you feel, or hoping depression or anxiety will go away on its own can lead to worsening symptoms.
https://www.mayoclinic.org/diseases-conditions/depression/in-depth/depression-and-exercise/art-20046495