Smart contracts are self-executing contracts with the terms of the agreement directly written into code. They run on blockchain platforms like Ethereum and automatically enforce and execute the contract terms when predefined conditions are met. They eliminate the need for intermediaries and reduce the risk of fraud.