Contract defenses like mistake, misrepresentation, and duress provide legal grounds to avoid contractual obligations. These defenses can render contracts void or voidable, depending on the circumstances and type of defense asserted. Understanding these defenses is crucial for determining contract enforceability and protecting parties' rights. Courts consider factors like the parties' sophistication, bargaining power, and knowledge when evaluating defenses in specific cases.