Final answer:
The source of Earth's magnetic field is liquid iron in the core of the planet.
Step-by-step explanation:
The source of Earth's magnetic field is liquid iron in the core of the planet. The flowing liquid iron in Earth's outer core creates electric currents, which in turn generates a magnetic field. This magnetic field is similar to that of a bar magnet aligned approximately with Earth's rotational poles.