I bought an accessory because I lost an earring.
It is an earring in the form of Jupiter. (Mars has no ring).
It sways and includes the ring of the planet.
As it sways, it sparkles with blue.
Seeing it, I imagine the beautiful universe.
Since "seeing it" modifies "I", it should be placed next to "I".