I have just been hearing about smart contracts as part of the functionality of cryptocurrency. I don't seem to understand what it means and how it is used. Please can someone on this forum explain in simple clear terms how smart contracts are and how a layman can find it useful?