Sagot :
It is a magnet that works on the principle of magnetic effect of current. A temporary magnet consisting of a long coil of insulated copper wire wrapped around a soft iron core is called an electromagnet. Construction and working: ...When we connect the two ends of the copper coil to a battery, an electromagnet is formed.
Explanation:
When a nail is kept close to a magnet, the magnetic field from the magnet turns the nail into a temporary magnet with two opposing poles. This is the reason why the nail is able to attract pins in the presence of a magnet.