It can be subject of a sentence or object.
Example of gerund subject. In a sentence a whole gerund phrase acts as a noun. A gerund is one of three classes of words called verbals words based on verbs and expressing an action or a state of being but serving another grammatical function. Smoking is bad for your health.
Gerund is subjectGerund is objectGerund is complement. Try to think of a gerund as a noun in verb form. Because a gerund is a noun it can be a subject complement.
Running is good exercise. Swimming helps me unwind. The gerund is obtained by adding the -ing tag to a verb root.
Singing is one of my hobbies. The gerund is obtained by adding the -ing tag to a verb root. Examples of gerund phrases for each group are given below.
Gerund as a subject. The gerund is obtained by adding the -ing tag to a verb root. The subject in which the names are used in the sentence is used in the case of the object.
My favourite occupation is reading. The use of the gerund as subject is more common than that of the to -infinitive. Subject Verb Complement Gerund base form of the verb ing.