The earth’s magnetic field has the function of deflecting the solar wind. The harmful radiations are repelled by the earth’s magnetic field to enter the surface.
EXPLANATION:
Magnetic field is a field that experiences the magnetic force due to magnetic materials.
So earth’s magnetic field has an intense function that prevents the entrance of the harmful radiation through the ozone layer.
The charged particles would easily 'strip away the ozone layer' due to the magnetic force of 'Earth’s magnetic field'.