Windows and Mac computers include dictation software, also known as speech recognition. This is not as accurate as dedicated dictation software such as Dragon Dictate, however it is free and worth trying if you are interested in trying out dictation and want a basic tool to do this.
Inbuilt dictation: