The underlined phrase is a participial phrase that functions as an adjective.
The underlined phrase 'containing gerunds, infinitives, and participles' in the sentence is a participial phrase. Participial phrases function as adjectives in a sentence, providing additional descriptive information about a noun or pronoun.