Answer:
Personification
Step-by-step explanation:
Personification is a literary device that consists of giving human attributes to nonhuman beings or inanimate objects like things, ideas, abstract qualities, aspects of nature, emotions, animals, and events. The sentence uses this figurative language because it brings the sun (an inanimate thing) to life and endows it with the ability of “peeking out,” which is something that humans can do.