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 ensures that all parties understand their responsibilities and provides a framework for enforcing those rights.