Giving objects or animals human emotions can help the reader form emotional connections to nonhuman figures. As with other literary devices, personification can also help paint a more vivid picture of a scene or make abstract ideas more accessible.
Charles Dickens, who employed personification regularly, saw these human attributes in everyday life. "This is a lesson taught us in the great book of nature," he said.
"This is the lesson which may be read, alike in the bright track of the stars, and in the dusty course of the poorest thin that drags its tiny length upon the ground. This is the lesson ever uppermost in the thoughts of that inspired man, who tells us that there are Tongues in trees, books in the running brooks, Sermons in stones, and good in everything."
Lastly, personification can make your writing more engaging, especially if you give unexpected human characteristics to an inanimate object.