What can a smart contract be used for?

Use of smart contracts.