The Earth’s magnetic field extends from pole to pole and is strongly affected by solar wind from the sun. This “wind” is a stream of charged particles constantly ejected from the sun’s surface. Occasional sudden flashes of brightness known as solar flares release even more particles into the wind. Sometimes, the flares are followed by coronal mass ejections that send plasma into space.