A contract is defined as a legally enforceable agreement between two or more parties that creates mutual obligations. While contracts can guide behavior or determine liability, their core legal definition requires mutual agreement and enforceability under the law. Torts, on the other hand, are civil wrongs independent of contracts.