Explosive releases of energy that occur in the Earth's magnetosphere, resulting in auroral displays and other phenomena.