A virtual machine runs on top of physical hardware using a hypervisor, which allocates CPU, RAM, and storage to each VM. Multiple VMs can run on a single physical server, each isolated from the others.

VMs are widely used in cloud computing and data centres to maximise hardware utilisation, enable rapid provisioning, and provide isolated environments for testing and running workloads.