The northern lights are the sky glowing from a collision with the solar wind
Charged particles streaming from the Sun are funnelled by Earth's magnetic field toward the poles, where they slam into gases in the upper atmosphere. Oxygen glows green or red and nitrogen glows blue or purple, producing the shifting curtains of the aurora borealis and its southern twin, the aurora australis.
— Space physics scholarship, Aurora — standard magnetospheric process