Why do I need a virtual machine?

A virtual machine can be useful when you need to run applications that will only run on another operating system, on Microsoft Windows™ for instance. A virtual machine can also be used during software development, to test in a pristine environment.