Another way to say "An activity someone can do is sleeping" is "Sleeping is an activity someone can do."