gerund, this happens when the intention on the verb/phrase is altered as in "driving is my favorite thing to do" (meaning driving)
the answer is gerund because when the verb is altered and serve thesame function as a noun in a sentence
1.6m questions
2.0m answers