This question already has an answer here:
I have a few problems understanding the software architecture of the Blockchain. For me Blockchain is the database where all transactions, receipts, balances, etc are stored. But how is the connection to the EVM? Is the EVM responsible for changing the Blockchain database? When a full node receives a transaction or a new block. It processes the transactions with the EVM. Is the internal storage of the EVM the Blockchain or what is the internal storage of the EVM? When it is not the Blockchain, is the EVM only responsible for processing the transaction and sending a receipt back to the blockchain so it can do an update? Are there two instances - the blockchain (database) and the evm (processor)- or one instance the evm which includes the blockchain database? I hope you know what I am trying to say here.