What protects life on Earth from interplanetary radiation?

The Earth’s magnetic field, also known as the geomagnetic field, is primarily generated by molten iron and nickel movement in the outer core. This magnetic field extends far into space, forming a protective shield called the magnetosphere. The magnetosphere deflects harmful solar wind and cosmic radiation from space, preventing most of this radiation from reaching Earth’s surface. Without this magnetic protection, the atmosphere could be stripped away, and life on Earth would be exposed to dangerous radiation from space.