Electromagnetism is caused by the magnetic fields around wires carrying an electric current. The induced magnetic field of a wire can interact with other nearby magnets, producing a force.
Part ofCombined ScienceMagnetism and magnetic forces
This video can not be played
Jonny Nelson introduces an animated explanation of electromagnetism.