A personification is a literary term, a type of metaphor in which inanimate objects or abstractions are represented as a person or with human characteristics. It can include a description in which the object is said to be human ("The tree smiled, held out its branch, and said 'Welcome home.' "); or just have similar characteristics to a human ("The wind blowing through the tree whispered to me.") Other examples would include giving life to an abstract quality, such as Father Time, Mother Nature or The Grim Reaper; or representing something, such as a work of art, as a person.
Personification is one of the most commonly used poetic device in poetry, along with similes, metaphor, onomatopoeia and alliteration It is used to describe a non-living object with human thoughts,actions,sound and so on. it usually helps us to understand more of the theme and content of the poem, as well as to give us a clear picture of what the object itself is like. or you can just say that personification is used to give human traits to non-living objects which could not have those traits.
It is an art of associating qualities of life and mind to inanimate things.
The mountains sing togather
The ground thirits for rain