<human>:  Can you explain the differences between a contract and a treaty?
<bot>: A contract is a legally binding agreement between two or more parties that is enforceable by law. It can involve the exchange of goods, services, money, or promises. A contract should state the terms of the agreement and be written in language that is clear, concise, and understandable. A contract can be enforced by either party in a court of law against the other to compel performance or damages.A treaty is an international agreement between states, usually written in formal language and negotiated by diplomats. It is a legally binding agreement between the nations that is recognized by international law. A treaty is usually broader and more comprehensive than a contract, and it grants rights or benefits to the nations that sign it. Treaties typically address issues such as disarmament, alliances, commerce, immigration, and territorial boundaries.