An electric bell contains an electromagnet, consisting of coils of insulated wire wound round iron rods. When an electric current flows through the coils, the rods become magnetic and attract a piece of iron attached to a clapper. The clapper hits the bell and makes it ring.