What is the part of speech of the underlined phrase in the following sentence?

My grandmother's favorite form of exercise is swimming laps.

"Swimming laps" is underlined.

noun

adjective

adverb

verb