Answer:
An electromagnet is a magnet that magnetic field is generated by an electric current. Wire coiled into a coil is used to make electromagnets. A current flowing through the wire produces a magnetic field that is focused in the hole, which serves as the coil's core.
Step-by-step explanation: