How do loudspeakers work?

An electromagnet pulls a piece of iron attached to a diaphragm (the speaker cone).
Thus a change in the current flowing in an electrical circuit causes a movement of the air ... which we call hearing.