The ability to read on-screen text is near universal in today's products. However, not all products provide the same set of features so it is important to understand what options to consider.
Several aspects of the reading experience can be customized depending on the product inclduing:
Microsoft hasn't added a dedicated text-to-speech feature directly to Windows as of yet, but they have added a fantastic feature called Immersive Reader to their Office products and their web browser called Edge. There are plenty of third party products available as well.
Pro-tip: On newer versions of Windows, Microsoft's magnifier tool can speak text highlighted text or text under the mouse arrow. Set the magnification to 100% and you have an easy to use text-to-speech reader.
Mac computers have built-in text-to-speech which can read any selected text. Newer versions also come with a speech control bar to allow for pausing and adjusting the speed of the voice on the fly.
Pro-tip: Press Option + Escape to activate the reader.
iOS devices offer a couple of ways to have text read aloud.
Select to Speak puts a "Speak" option in the menu that appears when text is selected.
Speak Screen reads the contents of the screen after swiping down from the top of the screen with two fingers. Speak screen also uses the speech controller.