personification
[noun]
a literary device where human qualities or characteristics are attributed to non-human entities, objects, or ideas
Ex:
The
author
used
personification
to
describe
the
trees
whispering
in
the
forest
.