The origins of the aurora are right back at the Sun. The Sun is always throwing out charged particles – a moving plasma that we call the solar wind.
On top of this, sometimes the Sun releases more matter into the solar system as the twisted magnetic field lines of the Sun break in a solar eruption…
A solar eruption
A Coronal Mass Ejection
Notice how huge the CME is. The Sun is the turquoise blob in the centre of the screen, and it is throwing out billions of tonnes of matter at millions of miles per hour into the solar system. We and all the other planets in the solar system sit in this turbulent sea of plasma.
This solar wind is constantly buffeting the Earth, sometimes weakly, sometimes strongly. All these fast charged particles would be dangerous to life, but the Earth has a magnetic field, which forms a protective magnetic shield called the magnetosphere.
The solar wind is deflected around the magnetosphere when it hits Earth, but it also transmits some of its energy to the magnetosphere – it’s like it pumps it up, or sets it ringing like a bell. The magnetic field pattern of the magnetosphere is changed during this process. Field lines from the front of the Earth are dragged round to the back, where the “tail” of the magnetosphere is squashed so much that magnetic fields break explosively and catapult electrons from within the system to Earth. This explosive breaking and rejoining of field lines is called “magnetic reconnection” and it is this that accelerates electrons into our atmosphere.
Watch this great NASA video to get a feel for what is happening during this process.
Here is an animation I made to show what is happening inside the atoms.