Imagine you were reading a story about the waves at a beach in California. What is the purpose of adding the following detail?

Blue fireworks sprayed as if touching the sky, reaching out until the highest droplet curved and then fell back toward the others in the vast ocea

The purpose of adding the detail about the blue fireworks spraying and reaching out towards the sky is to create a vivid and sensory image in the reader's mind. This detail helps to convey the beauty and power of the waves at the beach in California, and to immerse the reader in the setting of the story. It also adds an element of excitement and wonder to the scene, which can help to engage the reader's interest and imagination.