Another way to say "dogs can swim" is "Swimming is an activity that dogs can do."