Gerunds act as nouns, while infinitives act as verbs with 'to'. Gerunds can be subjects, objects, or complements. Infinitives can be subjects, objects, complements, or modifiers.
Gerunds always have 'to', while infinitives never have 'to'.
Baroque art features strong contrasts, while Rococo art prefers more subtle transitions
Baroque art is generally larger in scale than Rococo art