Answer:
Personification
Step-by-step explanation:
The sun can't actually sleep, so the author is personifying it by giving the sun (an inaminate object) a human trait. :)
8.3m questions
10.9m answers