Look at the underlined part in the following sentence and then identify what it is and its grammatical function.
The Andersons enjoyed playing cards with the Smiths.
gerund phrase, adjective
present participial phrase, noun
adjectival phrase, adjective
gerund phrase, noun