What causes an aurora?

The charged ions are blown towards the Earth by the solar wind. The Earth’s magnetic field turns most of them away.

However, the Earth’s magnetic field is weaker at the poles and so some ions enter the Earth’s atmosphere and collide with atoms of gas.

These collisions in Earth’s high atmosphere cause energy to be released in the form of auroral light.