The following sentence contains an infinitive.
An infinitive form of the verb is preceded by the word 'to' and is used as a noun. Examples include: to eat, to buy, to run, to play, to sleep, to dream, and to fly.
In this sentence, "to spend" is the infinitive. It is used as the direct object of the verb loves.