Quasi Contract

A contract implied in law, also known as a quasi-contract, serves as a legal remedy in situations where two parties lack a formal contract, yet one party gains an unfair benefit from the other. It is not an actual contract but a judicial determination that one party ought to compensate the other. In essence, a quasi-contract prevents one party from unjustly enriching itself at the expense of the other.