Question: what is earth's magnetic field responsible for
Answer: deflect most of the solar wind , whose charged particles would otherwise strip away the ozone layer that protects the Earth from harmful ultraviolet radiation