Chemiluminescence is the emission of light resulting from a chemical reaction. This process usually involves an electronically excited intermediate, which releases its energy as light when it returns to its ground state. It's a bit like a chemical firework display. (grok assisted)
This is how Jupiter protects Earth. It acts as a gatekeeper for our planet, preventing most asteroids from entering the inner orbits of the solar system.