### Theory:

Magnetic effect can be made with the help of electric current.
Electromagnet:
This experiment requires an iron nail, an insulated wire, few pins, a cell, and a switch.

Take an iron nail of $$6$$$$–10$$ $$cm$$ long and a flexible plastic wire (or any insulated wire) of length $$75\ cm$$ long.
1. Wound the wire tightly around the iron nail like a coil.
2. Now, connect the ends of the wire to the cell through a switch and place the pins near the end of the nail.
3. When the current is switched on, the pins clung to the tip of the nail.
4. But when the current is turned off, the pins do not stick to the tip of the nail.
Important!
Do not pass the current for a long time because the electromagnet weakens the cell if it is left connected.
Inference:
When the current flows through the circuit, the coil behaves like a magnet. Whereas the coil loses its magnetism when the current is turned off. This type of coil is known as electromagnets. It is a type in which magnetic field is produced by an electric current.
Example:

Loudspeaker

Electric motor

Induction plate
Uses of electromagnets:
1. Electromagnets are so strong that it is used to lift heavy loads. In a junkyard, a crane attached to an electromagnet is used to carry heavy metal loads. It also helps to separate magnetic materials from the junk.

Junkyard crane

2. Tiny electromagnets are used by the doctors to remove small pieces of magnets from the eye.

Electromagnets used in the eye surgery

3. Even children playing with the toys and dolls have electromagnets in it.

Magnetic toys
Electric bell:
A good example of an electromagnet is an electric bell. It consists of a coil of wire, an iron piece, a hammer, and a contact screw.

Working:
1. The iron piece is wounded with a coil of wire, which acts as an electromagnet.
2. The hammer at the end of an iron strip is placed near an electromagnet.
3. A contact screw is placed near the iron strip so that when it is in contact with the screw, current flows through it.
4. Thus, the coil becomes an electromagnet and pulls the iron strip.
5. When the iron strip is pulled, the hammer at the end of the strip strikes the gong of the bell, and sound is produced.
6. The circuit breaks, and the current flow is stopped when the electromagnet (coil) pulls the iron strip.
7. In this case, the coil is no longer an electromagnet, and hence, it does not attract the iron strip.
8. Again, the iron strip touches the contact screw when it reaches its original position. This completes the circuit of the electric bell.
9. Once again, the hammer strikes the gong when the current flows in the coil.
10. Every time when the circuit is completed, the hammer strikes the gong.
11. This process is repeated again and again and makes the bell ring.