How Is Earths Magnetic Field Generated