Games that run in the Windows operating system rely on DirectX because it provides an assortment of drivers and tools that are designed to optimize the game’s use of the available peripherals in the target computer. Microsoft’s DirectX is a free API (Application Programming Interface) that gives multimedia applications the power to work on Windows-based computers.