A contract is an agreement that specifies certain legally enforceable rights and obligations pertaining to two or more parties.