Another way to say "An activity someone can do is swim." is "Swimming is an activity someone can do."