During a coronal mass ejection, the sun expels billions of tons of material, some of which travel toward our planet. The Earth’s magnetic field deflects most of the sun’s particles, but some enter at the poles, where interactions with our atmosphere create the aurora borealis.