Life insurance is a type of indemnity which will pay