If you want to install Windows on your Mac natively, you would use
Boot Camp 5.1, on a modern, up-to-date Mac. It has support for Windows 7, 8, and 8.1.
Or you could install any version of Windows from DOS to Windows 10 in a virtual machine using software like
Vmware Fusion 7.