Smart contracts are self-executing contracts in which the contents of the buyer-seller agreement are inscribed directly into lines of code. Using it makes the transactions traceable, transparent and irreversible. In blockchain, smart contracts play a very essential role, it helps to make the transactions taking place more safe and secure and function in an organized manner. Not only this,it helps other components like applications running on these platforms be even more accessible.