Smart contracts are self-executing contracts that function on certain blockchains. They have agreement terms written into their code. So when a buyer and seller meet these terms, the contract processes a transaction on the blockchain. Smart contracts were popularized by Ethereum, but can now be found on other blockchain networks.