Which figurative language device is used in the sentence below?

The branches danced on the wind, waving hello to the passersby.

Personification
Hyperbole
Simile
Symbolism

Personification