Text-to-speech (TTS) is a type of assistive technology that reads digital text aloud with a click of a button or the touch of a finger, TTS can take words on a computer or other digital device and convert them into audio.
Speech to text is a speech recognition software that enables the recognition and translation of spoken language into text through computational linguistics. It is also known as speech recognition or computer speech recognition.