An indemnity contract is an agreement to pay on behalf of another party under specified circumstances.
An insurance policy is an indemnity contract.