Electromagnetism is due to the magnetic fields around electric currents. The fields can cause forces with other nearby magnets which can be used to make motors spin.
Part of Combined ScienceMagnetism and electromagnetism