Personification

A figure of speech in which human qualities are given to an object, animal or idea is personification.

My internet connection died, then the whole computer crashed.
"Oreo: Milk’s favorite cookie."
(slogan on a package of Oreo cookies)
The volcano angrily spewed fire and hot ash into the sky.
Lions are the king of the jungle.
"Fear knocked on the door. Faith answered. There was no one there."
(English proverb quoted by Christopher Moltisanti in The Sopranos)

» Glossary: Literary Terms to Know