But doesn't a basic text editor like notepad++, or sublime text, I guess nowadays people use vscode too, take care of that? Why would you want to use some kind of rich text editing program for those?
Wordpad was on every windows machine from 1995 onwards - no need to install anything on a machine you might not even be able to, and unlike notepad it could open text files from unix machines properly
Now I believe at some point in the last decade or so notepad was upgraded to be able to open those files so it’s no longer a feature. I dropped windows well before those other editors came out so not sure exactly when notepad was fixed, but I do remember using wordpad to read files
But the point is moot now that they added support for this to Notepad. Dunno if there are still supported versions of Windows out there that don't have it, but at least the newer systems should