Sound has been reproduced in many ways, from old-fashioned records to modern digital technologies. But no matter how sound is recorded or stored, in the end it must be converted back into sound waves by loudspeakers. Sound is recorded by converting sound waves into electronic signals that can be processed and stored. Sound is reproduced by converting electronic signals back into sound waves.
A modern speaker produces sound waves in much the same way that a drum does. A drum skin vibrates up and down like a trampoline. As the drum vibrates, it sends a series of compressions and rarefactions through the air across the room. They carry energy to your ears in the form of sound waves.