Section 2. A contract of insurance is an agreement by which one party for a consideration promises to pay money or its equivalent, or to do an act valuable to the insured, upon the destruction, loss or injury of something in which the other party has an interest.