The gerund is a verb form that ends in “-ing” and functions as a noun. It is used to represent actions or states of being. The gerund can be used as the subject, the direct object, or the object of a preposition in a sentence. It is important to remember that the gerund is a verb form, so it will take a direct object if one is needed. Here are some examples:
Subject:
Swimming is great exercise.
Direct Object:
I love swimming.
Object of a Preposition:
He’s afraid of swimming.