1. As the subject of a sentence:
Eating cakes is one of my hobbies
One of my hobbies is eating cakes
It can be a little difficult to know when to use gerunds and infinitives. Let's find it out!
A gerund is a verb form that ends in ing:
An infinitive is the base form of a verb preceded by to:
Eating cakes is one of my hobbies
One of my hobbies is eating cakes
I'm good at eating cakes
I enjoy eating cakes
Verbs followed only by a gerund: admit, enjoy, avoid, deny, dislike, feel like, keep, mind, miss, practise, recommend, spend time, stop, suggest.
It's important to eat cakes
I'm saving money to buy more cakes
I would like to buy more cakes
Verbs followed only by an infinitive: want, need, learn, offer, pretend, promise, refuse, agree, decide, expect, forget, help, hope, plan, would like, try, remember.
I must buy a cake
I can't eat cakes all day
My mother let me eat a cake
Verbs followed by a gerund or an infinitive with little to no change in meaning: like, love, hate, continue, begin, start. For example:
I like to eat cakes
I like eating cakes