A microphone is used to turn sounds into electrical signals.