In a contract, a remedy refers to the legal solution or relief provided to an aggrieved party when the other party breaches or fails to fulfil their contractual obligations. Remedies can include financial compensation (damages), specific performance, rescission, or restitution, depending on the nature and extent of the breach. The purpose of a remedy is to return the injured party to the position they would have been in if the contract had been properly performed.