Yes. A microphone is an input device. It converts acoustic energy (sound waves) into electrical signals that a computer, recorder, or PA system can process, store, amplify, or transmit.
Common uses: voice recording, live sound reinforcement, teleconferencing, voice recognition, streaming.