This is when something in a story is described as if it were alive like a person.


Example: The sun went to sleep.


what is the name of this type of literature?