Auroras are caused when the sun creates high-energy gas called solar wind. When this solar wind hits Earth's magnetic field, it creates an electrical current. The electricity begins to travel along the surface of Earth's atmosphere and gathers more energy until it reaches the poles. The light of an aurora is a result of these high-energy electrical particles mixing with other gases, such as oxygen and nitrogen.