Describing nonhuman or nonliving things using human-like traits is known as

alliteration
hyperbole
metaphor
personification