In addition to simple gerund and infinitive forms, there are continuous gerund and infinitive forms, passive gerund and infinitive forms and perfect gerund and infinitive forms as well as combinations of these forms. This article
A verb can be followed by another verb. The second one usually needs to change into the gerund (-ing) form or the to + infinitive form. Which form you need depends on what the first