Personification is a literary device where human qualities or traits are attributed to objects, animals, or abstract concepts. It is used to create a more vivid or engaging image in the reader's mind by giving human-like characteristics to non-human entities.