What is the purpose of a "contract" in legal terms?
A contract is a legally binding agreement between two or more parties that outlines their rights and obligations. It can be enforced in a court of law.