A contract creates rights and obligations for the parties involved. When all obligations under a contract have been fulfilled, the contract terminates. If a party fails to perform their obligations under the contract or refuses to do so, it results in a breach of contract. There are two types of breach: actual breach, where a party fails to fulfill their promise; and anticipatory breach, where a party indicates before the time for performance that they will not fulfill their obligations. When a breach occurs, the wronged party is known as the aggrieved party and has several legal remedies available to them, including rescinding the contract, suing for damages or specific performance, seeking an injunction, or claiming compensation on a quantum meruit basis