A legal excuse is a defense used in court to justify or mitigate liability for an otherwise unlawful act, often by demonstrating that the defendant lacked the requisite intent or capacity. It serves to acknowledge circumstances that diminish culpability, such as duress, necessity, or incapacity, thereby potentially absolving or reducing the defendant's legal responsibility.