Electricity and magnetism are two different phenomena present in our planet. Electricity is the flow of charged particles and magnetism is the force of attraction or repulsion between objects.
Explaning students how forces attract or repel.
The Earh's molten iron core acts like a huge magnet. Magnets and compasses always point to the magnetic North Pole.
Explaining how the magnetic filed acts surrounding the Earth.
The magnetic field around the Earth acts like a huge shield that changes direction of cosmic rays and protects our atmosphere.