This refers to a figure of speech that gives human attributes to inanimate objects.
Here, we can note that figurative expressions are used to show the non-literal meanings of a text and this can be seen in things like personification, rhymes, metaphors, similes, etc.