Opening Windows 8 through VirtualBox on a Macbook Air
Your question is a little unclear but if I understand you correctly, you can install Windows 8.1 as a virtual machine running within Mac O/S X.

Virtualbox is a good (and free) download that will allow you to install Windows 8.1 inside Mac O/S X. All you need is a Windows 8.1 disk image file (on the PC it's called an ISO for it's file extension) that you purchase from Microsoft or someone who sells Windows downloads and a copy of the Virtualbox installer.

There is an active community that can answer any questions that the documentation does not cover right there on virtualbox.org.

And that should get you started.