Defenses to unjust enrichment are legal arguments used to prevent a party from having to return benefits received unfairly when certain conditions justify retaining the benefit. Common defenses include change of position, bona fide purchaser, and illegality, which can excuse the retention of benefits under specific circumstances.