The magnetic field of the earth