Another way to say "playing tennis is for fun and exercise." is "For fun and exercise, you can play tennis."