Answer:
Meter is a literary device that works as a structural element in poetry. Essentially, meter is the basic rhythmic structure of a line within a poem or poetic work. Meter functions as a means of imposing a specific number of syllables and emphasis when it comes to a line of poetry that adds to its musicality. It consists of the number of syllables and the pattern of emphasis on those syllables.
I hope it's helpful!