Virtual machine

In the context of blockchains, a virtual machine (VM) acts as a secure and isolated environment where code gets run within the blockchain network. The Ethereum Virtual Machine (EVM) is an example of a VM.