A microphone converts sound into a small electrical current. Sound waves hit a diaphragm that vibrates, moving a magnet near a coil. In some designs, the coil moves within a magnet. Other microphones, such as condenser microphones, work on the principle of capacitance.