Legal purpose is a fundamental requirement for a contract to be enforceable, ensuring that the contract's objectives and activities comply with the law and public policy. Without legal purpose, a contract is deemed void or unenforceable, as it cannot be used to facilitate illegal or unethical activities.