A contract creates certain obligations on one or all parties involved. The discharge of a contract happens when these obligations come to an end. There are many ways in which a contract is discharged.
Discharge by the performance of a contract can be by:
Actual performance Attempted performance