Smart contracts: programs that run on a blockchain
A smart contract is a small program stored on a blockchain. When its conditions are met, it executes exactly as written: release a payment, record ownership, count votes. No clerk has to press the button.
That is powerful and risky at the same time. Once deployed, code is often hard to change, so a bug can be permanent. An audit reduces risk but does not guarantee safety. Every action also costs a network fee, often called gas.
Practical habit: before you sign anything, read what the wallet says you are approving. If you cannot tell what it does, do not sign. Smart contracts execute rules; they do not judge whether the rules are fair.