A virtual machine (VM) is a software-based computer that runs on top of physical hardware. In general computing, system VMs let one server host several isolated operating systems, which is the basis of most cloud computing. Process VMs, such as the Java Virtual Machine, run programs written for them on any underlying machine, so the same code behaves the same way everywhere.
Blockchains use the second idea. A blockchain VM is the environment in which smart contracts are executed by every node, and it must give exactly the same result on each one so that the network agrees on the state of the ledger. The best known is the Ethereum Virtual Machine (EVM), which many other chains copy for compatibility. Others include the Solana Virtual Machine, which can run transactions in parallel, and runtimes based on WebAssembly.
Ref 1300000368