VirtualBox is a cross-platform virtualization application that allows multiple operating systems at the same time. You have to use any different operating system in One computer. But before you install operating system on VirtualBox you should know how to set some settings for secondary operating system.
In this helphin will guide How to set Virtualbox for Ubuntu Operating system. These are the basic settings really you should know.