The study of Earth's magnetic field and how it is generated by the movement of molten iron in the core.