The Earth has a substantial magnetic field, a fact of some historical importance because of the role of the magnetic compass in exploration of the planet.