The Earth has a magnetic field with north and south poles. The Earth's magnetic field reaches 36,000 miles into space.
The magnetic field of the Earth is surrounded in a region called the magnetosphere. The magnetosphere prevents most of the particles from the sun, carried in solar wind, from hitting the Earth.
Some particles from the solar wind can enters the magnetosphere. The particles that enter from the magnetotail travel toward the Earth and create the auroral oval light shows.
The Sun and other planets have magnetospheres, but the Earth has the strongest one of all the rocky planets. The Earth's north and south magnetic poles reverse at irregular intervals of hundreds of thousands of years.
Another
Image
Photo provided courtesy of NASA