There are several ways a contract can be discharged including performance, agreement/consent, impossibility, lapse of time, operation of law, and breach. Performance discharges a contract when both parties fulfill their contractual promises. Discharge by agreement/consent occurs when parties mutually agree to cancel or modify the contract terms through novation, rescission, or alteration. Impossibility discharges a contract when unforeseen circumstances make performance impossible. Lapse of time, such as the expiration of a time limit, also discharges contracts. Operation of law discharges certain contracts through factors like death, insolvency, or merger. Breach by one party discharges the obligations of the other party.