There are a few operating systems that are generally considered to be good choices for gaming:
Windows is the most popular operating system for gaming, and it supports a wide range of games and hardware. It is also the primary platform for many of the top PC game developers, so you will find the largest selection of games on Windows.
While not as popular as Windows for gaming, there are still a large number of games available for Mac computers running macOS. Many of these games are also available on Windows, but some are exclusive to Mac.
Linux is an open-source operating system that has gained popularity among gamers due to its customization options and support for a wide range of hardware. While not as many games are available for Linux as for Windows, there are still a number of high-quality titles that can be played on Linux using tools such as Wine or Proton.
It's worth noting that the best operating system for gaming will also depend on the specific hardware you are using. Make sure to check the system requirements of the games you want to play to ensure that your hardware is capable of running them.