A smart contact is a virtual contract that controls the transaction between two parties. It builds the trust between the parties and makes sure there is no mistakes/errors/fraud. It acts as a middle man between the sellers and the buyers. Smart contact is stored under blockchain technology (which is a ledger) that supports bitcoin and another cryptocurrency.