Currents and magnetic fields
Moving charged particles produce magnetic fields .
A current in a wire produces a magnetic field around the wire.
A moving electron also produces a magnetic field.
Similarly, magnetic fields interact with charged particles . A charged particle that moves through a magnetic field will experience a force.
An electron in a magnetic field will follow a curved path!
Electricity and magnetism are fundamentally connected to each other. The relationship between electricity and magnetism is called electromagnetism.