Personification

Personification is a figure of speech where non-living objects are described to seem like people.
In the arts, personification means representing a non-human thing as if it were human. Personification gives human traits and qualities, such as emotions, desires, sensations, gestures and speech, often by way of a metaphor.
Personification is much used in visual arts. Examples in writing are "the leaves waved in the wind", "the ocean heaved a sigh" or "the Sun smiled at us". In easy language personification is just giving an example of a living being for a non-living thing. "The wind shouted". In these examples, the nonhuman subjects are given human characteristics.
Another commonly used personification is found in stories where animals and legendary creatures are attributed labels for recognition. This is called anthropomorphism.