Gerunds and infinitives can function as nouns, subjects, objects, or subject complements. Gerunds are formed with the "-ing" form of the verb and can be objects of prepositions. Infinitives are formed with "to" plus the base verb form. Certain verbs are followed by gerunds or infinitives with slight differences in meaning. Both gerunds and infinitives can occur in various tenses and aspects.