Microphone
Sound passes through the air in waves, and as was said above, the microphone turns the sound wave into an electrical wave.  Different kinds of microphones will turn the sound waves into electricity in different ways.