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

The wailing toddler was having a temper tantrum

(1 point)

"wailing" functions as a pronoun

"wailing" functions as an adjective

"wailing" functions as a noun

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

"wailing" functions as an adjective