Another way to say "walking the dog is for exercise" is "taking the dog for a walk is for exercise"