what is electromagnet
Electromagnets are made out of a coil of wire (wire curled in series). This is more effective in producing a magnetic field than just a wire running straight. This effect can be strengthened by winding a wire tightly around a powerful core, made of magnetic material, such as iron. The picture above shows a coil wound around an iron nail. On its own, the iron nail is not magnetic.