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

The wailing toddler was having a temper tantrum
(1 point)
O "wailing" functions as a pronoun
O "wailing" functions as a noun
O "wailing" is not a participle as used in this sentence
O "wailing" functions as an adjective

"Wailing" functions as an adjective.