Discuss-Discharge of contract occurs when the performance of the primary obligations come to an end.