Infinitive is formed by this form: To + Verb , it can be a subject or a direct object …….etc
-To play football is your hobby. (Here it’s a subject)
-You need to learn english! It’s an important language. (Here it’s an object)
Gerund is a noun ending always by ING, it can be a subject, a (in)direct object….etc
-Learning english is my hobby. (Here it’s a subject)
-I love learning english from this website. (Here it’s a direct object)
The question you would ask is whether we use infinitive or gerund, the answer is in the next lesson. Find out when we use infinitive and when we use gerund: Gerund or Infinitive?