A contract is a legally binding agreement by one party to fulfil an obligation to another party in return for consideration.