What is Virtual Machine (VM)?
A software-based emulation of a physical computer that runs its own operating system and applications.
Virtual machines run on a hypervisor that abstracts physical hardware, allowing multiple VMs to share a single physical server. Each VM has its own OS, CPU allocation, memory, and disk, providing complete isolation.
VMs are heavier than containers (full OS per VM) but provide stronger isolation. Popular hypervisors include VMware ESXi, KVM (Linux), and Hyper-V (Microsoft). Cloud VMs include EC2 (AWS), Azure VMs, and Compute Engine (GCP).