Contract  is a legally enforceable agreement between two or more parties.

Other definition:
Contract is a legal agreement entered into by two or more parties.