An agreement enforced by law is defined as a contract. There are several essential elements for a valid contract including offer and acceptance, lawful consideration, capacity and consent of the parties, lawful object, and certainty of terms. Contracts can be categorized based on their enforceability, mode of creation, or extent of execution. Valid, voidable, void, unenforceable, and illegal contracts differ in their enforceability, while express, implied, and constructive contracts vary in their mode of creation. Executed and executory contracts are distinguished by the extent to which the agreement has been carried out.