The conversation between human and AI assistant.
Why are magnetic fields produced?
How is the Earth's magnetic field generated?
The Earth's magnetic field is generated by the motion of molten iron in the planet's core. The movement of these electrically conducting fluids creates electrical currents that generate the magnetic field.