Another way to say "getting exercise is for losing weight" is "You can lose weight if you get some exercise."