It is a gerund phrase functioning as a noun phrase.
Previous Question
"Give me a glass of cold water." 'a glass of cold water' is a:
Next Question
Which is a noun clause?