Smart contracts are self-executing contracts containing the terms and conditions of an agreement among peers. The terms and conditions of the agreement are written into code. The smart contract executes on the Ethereum blockchain's decentralized platform. The agreements facilitate the exchange of money, shares, property, or any asset. There are two widely-used programming languages for writing Ethereum smart contracts – Solidity and Serpent.
Traditionally, when two parties enter into a contract, they utilize the services of a trusted third party to execute the agreement. It's been done this way for centuries. However, the introduction of smart contracts and its related technologies is automating what has been a laborious manual process.
Reference: