A contract whereby one party (the insurer), in return for consideration known as a premium, agrees to indemnify another party (the insured) against specified damage, loss or liability arising from the occurrence of specified risks or to compensate the insured or beneficiary upon the occurrence of a specified event.