Careful, gauravsoni--in this context, swimming is a noun (gerund), not a verb. It describes an activity, not an action. It's the difference between "Cooking good food is not always easy" (Cooking=noun) and "He is cooking dinner" (cooking=verb).
The word "like" only compares nouns (unless we're using the verb form--"I like to cook."). "As" has many uses, as the guide suggests, and one of them is a prepositional form. So the answer to your original
...
The word "like" only compares nouns (unless we're using the verb form--"I like to cook."). "As" has many uses, as the guide suggests, and one of them is a prepositional form. So the answer to your original
...
.jpg)





