What is Liniux used for these days? Why would anyone want to use this OS when Windows 10 and Mac OS dominate?
Linux is used for pretty much everything a computer can be used for. I use it for gaming, desktop publishing, photo and video editing, file and record management, personal finance, email and Internet, music and movies, education, etc. Basically, for me, the year of the Linux desktop arrived a decade ago. It actually culminated a few years ago when AAA games started coming out for Linux.
I found that keeping up with Windows is too expensive. I found it ridiculous to keep purchasing the upgrade for the same piece of software or hardware every time they upgrade the OS. And the upgrades were mostly for fixing bugs, not adding new features. I am not going to shell out my hard earned money to fix sloppy problems that shouldn't have existed in the first place, and I am not even allowed to fix them myself if I wanted to. And I didn't want to be bogged down with fighting virus and malware and crashes and slowdowns and unexpected stoppage due to long unwanted upgrades.
I also found that Mac was too restrictive in terms of how I want to use my own computer anyway I want, rather than the company mandating how I should be using my own computer. You cannot easily convert Mac for automated maintenance, central file sharing, etc. without shelling more money and giving up more control. I want to be able to seamlessly do all the things Linux can do. At least the Mac hardware is pretty fancy, which is why I use Linux on a Mac. And Macs are pretty good for non-technical users, I give you that, which is why I dual-boot it (Linux for me and OS X for my family, although they also use Linux for some power usage, and I use OS X for some games that don't quite work in Linux natively or with wine).
As others noted, Linux are also heavily used in server and advanced computing areas like cloud computing and super computing (top 500 supercomputers are all Linux based), massive data warehousing, AI and data mining in science and non-science areas, big movie studio production, etc.
Another area of heavy Linux use is embedded and special-purpose devices, like smart TVs, smart appliances, Internet of Things, network routers, car and airplane entertainment devices, controlling the sensors and actuators used in many areas such as agriculture, robotics, etc.
And now you have Linux-based Android, whose market share is far bigger than all other OS's combined. Yes, Linux kernel is used in consumer-oriented general computing devices in more quantity than any other computing devices, all combined. Desktops are just a small part of the consumer-oriented computers. Majority of consumer-oriented computers are Linux-based.