Here's how it works:
* Sound Waves: Sound travels as vibrations in the air. These vibrations cause the diaphragm in the microphone to move back and forth.
* Electrical Signal: The diaphragm's movement is connected to a coil of wire that moves within a magnetic field. This movement generates an electrical current that corresponds to the sound waves.
* Amplification: The electrical signal is usually very weak and needs to be amplified before it can be used for recording, broadcasting, or other applications.
There are different types of microphones (dynamic, condenser, etc.), but they all share this basic principle of converting sound waves into electrical signals.