What does indemnity mean in the context of insurance?

Indemnity in insurance usually means compensation in case a third party makes a claim against the policyholder. For example, a customer may make a claim for injury against a gym owner. It is most often found in business insurance.