Final answer:
Moving a magnet quickly in and out of a coil of wire produces an electric current.
Step-by-step explanation:
Moving a magnet quickly in and out of a coil of wire produces an electric current. This phenomenon is known as electromagnetic induction and it is the basis for how generators and transformers work. When the magnet moves relative to the coil, the magnetic field through the coil changes, which induces an electric current in the wire.
Learn more about Electromagnetic Induction