An electric bell consists of an electromagnet, a strip of iron and a hammer. When the switch is on, the current flows through the circuit which allows the electromagnet to pull the strip of iron. This makes the hammer attached to the iron piece hit the gong and ring the bell.