Another way to say "getting exercise is for getting in shape" is "A way to get in shape is to exercise"