Figurative speech is often used in literature. You can find them in poetry mostly and in some short stories. They are used in order to compared nouns or actions and it makes it more specific. Some of the main types of figurative language or speech include similes, personification, hyperbole and metaphors. A simile is a comparison between two unlike things using like or as. A metaphor is a comparison between two unlike things not using like or as. Personification is giving non-human things human characteristics.
A hyperbole is an exaggeration of the truth. In the quote, there are actually two types of figurative language because sometimes a metaphor can be personification because the two things beings compared could be where one thing is a human thing and the other is not human.