Gerunds are formed with ING and can act as subjects or objects of verbs or objects of prepositions. Infinitives are formed with TO and can act as subjects or objects of verbs. While both can be subjects and objects of verbs, only gerunds can be objects of prepositions. Gerunds are used to describe real or completed actions, while infinitives are used to describe unreal, abstract, or future actions.