what is earth's magnetic field generated by
Earth's magnetic field The Earth's magnetic field is believed to be generated by electric currents in the conductive material of its core, created by convection currents due to heat escaping from the core. However the process is complex, and computer models that reproduce some of its features have only been developed in the last few decades.
Earth's magnetic field As well as deflecting the solar wind, the Earth's magnetic field deflects cosmic rays, high-energy charged particles that are mostly from outside the Solar system. (Many cosmic rays are kept out of the Solar system by the Sun's magnetosphere, or heliosphere.[27]) By contrast, astronauts on the Moon risk exposure to radiation. Anyone who had been on the Moon's surface during a particularly violent solar eruption in 2005 would have received a lethal dose.[24]