Can exercise improve mental health and help with conditions like anxiety and depression?

Can exercise improve mental health and help with conditions like anxiety and depression?