In plain English
A virtual machine, or VM, lets you run an operating system and applications as if they had a separate computer. Multiple VMs can share one physical machine. Containers usually share the underlying operating system's kernel, or core, while each VM has its own.
Example
A startup rents a Linux virtual machine in the cloud to run its API. It installs the runtime and application on that VM while the provider manages the underlying physical server.