The main purpose or role of the alliteration in lines 5–7 of “Magic Island" is to create rhythm and help the reader to visualize and remember the descriptions.
Explanation:
Alliteration refers to the occurrence of the same letter or sound in a group of words that are close to each other in a line of poetry or text. In lines 5-7 of Magic Island, the following alliterations occur;
waves of wind
catches a kite
keeps it there.
These words sound alike thus, forming a rhythm that sounds nice to the ears. The rhythm thus formed will help the reader to always remember the description as well as visualize the word pictures.