Personification, metaphor, and simile are the main figurative language used in the book. the imagery is describing the journey of Bilbo a young hobbit that was hired by dwarves to be a thief so the can get their gold back.
I think it’s product user guide.