what type of figurative Language is

We baked in the hot sun.

The phrase "We baked in the hot sun" is an example of personification, as it gives human characteristics (baking) to an inanimate object (the sun).