Answer:
Rhyme is the literary device of this poem.
Explanation:
The rhyme is a literary device used to promote musicality to the text. In poetry, it is generally used at the end of each verse and is characterized by the identical or similar sound between the last syllables of the last word of each verse, thus creating a melody for the poem.
The poem presented above uses the rhyme as a literary device in an AABBCC scheme, which represents how the verses rhyme with each other.