Infinitive, Noun
"To love animals" is an infinitive. All infinitives begin with the preposition "to" followed by the verb "love". The infinitive "To love animals" is the subject of the sentence. It is what the entire sentence is about.
A gerund ends in /ing/ and functions as a noun in the sentence. A participle is a verb that is used as an adjective or a noun.