Here's why:
* How a Doorbell Works: When you press the button, you complete an electrical circuit. This circuit energizes an electromagnet, which attracts a metal hammer. The hammer strikes a bell, producing the sound. When you release the button, the circuit breaks, the electromagnet de-energizes, and the hammer springs back to its original position.
Let me know if you'd like to know about other devices with electric magnets!