Buying an OS when building a PC is unnecessary, as you can create your own installation media. However, if you don’t want to go through the hassle of creating a bootable USB drive to install an operating system, you can buy a physical installation of Windows when assembling the computer.