Contract is defined as a spoken or written promise between two or more people for some benefit.

Usually, a contract has a legal quality. That means, if John does not accomplish what he promised to do in the contract, Alice can reach out to the government and get them to force John to complete his promise.

See smart contract for more information.