How do speakers work? Passive speakers vs active speakers

The loudspeaker is a staple of music. You’ll find them in every professional studio, and every bedroom studio thanks to the rise of digital music. But how do speakers work?