It acts as the object of the preposition 'with'.
Previous Question
"The woman with the hat is my teacher." 'The woman with the hat' is a:
Next Question
Which is a noun phrase?