A written or oral agreement to do or not to do certain obligations which has four essential elements 1. Parties who have the capacity or legal ability to contract, 2. Consent of the parties, 3. Consideration and 4. A lawful object. A contract for the sale of real property must also be in writing and signed by the party or parties who have agreed to perform to be enforceable.