A contract is a legally binding agreement between two or more parties. There are several key elements for a valid contract: agreement between the parties, consideration (exchange of value), capacity to enter a contract, consent, legality of purpose and form. A contract can be terminated through performance, agreement between the parties, frustration which makes performance impossible, or breach where one party fails to fulfill their obligations. In the case of breach, the injured party may rescind the contract, seek damages, or request specific performance of the original terms.