A smart contract is an agreement that executes automatically at the same moment as established criteria within the contract are met.