Smart contracts are programs that live on a blockchain and run automatically when certain conditions are met.

An elegant definition would be: A smart contract is a promise turned into code.
For example, imagine you want to sell an NFT for 1 #ETH:
• If the buyer sends 1 $ETH ✅
• The contract automatically transfers the NFT ✅
• 1 You don't need a notary, bank, or intermediary ✅

The most interesting thing is that no one can change the rules after the contract has been deployed on the blockchain (unless it was designed to be updated).