Answer:
The earth's magnetic field protects the surface from strong electrical currents coming from the sun
Step-by-step explanation:
The Earth's magnetic field called the “magnetosphere” – protects our atmosphere from the “solar wind.” That's the constant stream of charged particles flowing outward from the sun. When the magnetosphere shields the Earth from these solar particles, they get funneled toward the polar regions of our atmosphere.
The Earth's magnetic field serves to deflect most of the solar wind, whose charged particles would otherwise strip away the ozone layer that protects the Earth from harmful ultraviolet radiation. One stripping mechanism is for gas to be caught in bubbles of magnetic field, which are ripped off by solar winds.