How Does A Bell Work Using Electromagnets?

How Does A Bell Work Using Electromagnets? When the switch (K) is closed, an electric current passes from the battery (U) through the winding of the electromagnet. It creates a magnetic field that attracts the iron arm of the clapper, pulling it over to give the bell a tap. What type of electromagnet is used