Physics diagram of an electromagnet and bar magnet with magnetic field lines and a force vector.
Two magnetic fields: one from the electromagnet (coiled wire with current) and one from a fixed magnet. The fields overlap, showing a force vector acting on the electromagnet, causing it to move. Voir plus