Another way to say "getting exercise is for staying fit" is "One purpose of exercise is to stay fit."