Personification is a figure of speech that is used to attribute human characteristics to something that is not human. It can also be used to personify an abstract quality.
For example, “the wind whispered through the trees” is an example of personification because the wind cannot literally whisper, but the comparison is used to create a more descriptive and imaginative image.