Speech recognition in NLP is a way of converting spoken language into written text. It uses algorithmic techniques and acoustic models that allow devices to comprehend and react to spoken commands, enabling applications like transcription services, voice assistants, and hands-free operation.