Answer by
Allstar (2071)
The sun emits ionized particles, a phenomenon called solar wind. These particles enter the magnetic field of Earth, and are then attracted to the magnetic poles. When those particles enter the atmosphere, they collide with air molecules, which causes a light similar to those made by neon tubes.