I was taking an IT course, just this winter past. The program consisted of 5 separate courses, but to pass each one you had to complete a lab. Part of it was using Microsoft Windows and part of it was using Linux.
That sucked. I have two desktops and three laptops, but they're all running Linux distros.
Oracle VirtualBox enables you to install other operating systems on your computer in a container. It's available for Windows, Apple/Mac and Linux computers, and free for personal use.
I made a video that shows me switching from Linux Ubuntu 24.04 to Microsoft Windows 10, and then back to Ubuntu again:
I didn't add any sound to the video, but it's in HD format, so if you click the little square to make it full screen -- it's very clear.
https://stevemaclellan.net/add-a-little-windows/
I used the same method to try out numerous Linux Distros, to see if I like them or not.
The same thing could be done on a Mac. You could install Linux distros or Windows if you wanted to. On Windows, you could install Linux or Mac.
Note: some charges may apply. Windows wouldn't install for me in my VirtualBox without paying for a licensed copy of Windows.