what are smart contract in blockchain ?

smart contract explained