Personification is giving human qualities to animals or objects.
a smiling moon, a jovial sun
In "Mirror" by Sylvia Plath, for example, the mirror--the "I" in the first line--is given the ability to speak, see and swallow, as well as human attributes such as truthfulness.
- I am silver and exact. I have no preconceptions. Whatever I see I swallow immediately Just as it is, unmisted by love or dislike. I am not cruel, only truthful--