1. To make an electromagnet we need the following apparatus; An iron nail of 10 cm length, 1 metre long insulated copper wire, a battery cell, pins.
2. Wind the copper wire around the nail as shown in the figure. Connect the free ends of the wire to the two terminals of a cell through a plug key.
3. Close the key to complete the circuit.
4. Bring small pins near the tip of the nail and observe.
5. When the circuit is completed, the iron pins are attracted by the nail and hence, they stick to the nail.

6. When the circuit is broken, the pins fall off.
7. A magnet is prepared by passing an electric current through an insulated wire wound around the iron nail. This is an electromagnet.
8. When the current is allowed to pass, the nail becomes a magnet and attracts pin / pins stick to it.
9. When the current is put off the nail does not behave as a magnet and therefore, pins fall off.
10. The magnetism is temporary in the case of an electromagnet.