A smart contract is a self-executing digital agreement that enables two or more parties to exchange anything of value without the need for a third party, such as a bank. The smart contract code is executed on a blockchain so it cannot be altered.
Want to know more? How Do Ethereum Smart Contracts Work? (August 2022).