Personification

A literary device in which human qualities or characteristics are attributed to non-human entities, such as objects, animals, or abstract concepts. For example, ‘The wind whispered through the trees’.