A virtual machine is software that replicates a computer system. It has memory, CPU, and virtual storage. A virtual machine is similar to a real computer in that it may store data, perform application programs, and participate in the operation of a Blockchain network with other virtual machines.
The Ethereum virtual machine is used to ensure that transactions performed on entirely varied environments and computer configurations produce identical results on the Ethereum platform. An EVM is essentially a system that processes Ethereum smart contracts.
Transactions received via the EVM are processed by Ethereum system nodes. Any transaction that wishes to modify the network state must go via the EVM procedure. Although EVM is only a virtual machine, numerous copies are created. To maintain the consistency of the calculation, each node participating in the execution of the same transactions holds a copy of the EVM.