What is the function of the participle "wailing" in the sentence below?

The wailing toddler was having a temper tantrum.

(1 point)
Responses

"wailing" functions as a noun
"wailing" functions as a noun

"wailing" is not a participle as used in this sentence
"wailing" is not a participle as used in this sentence

"wailing" functions as a pronoun
"wailing" functions as a pronoun

"wailing" functions as an adjective

"wailing" functions as an adjective.