Insurance is an agreement in which a private company agrees to pay part of someone else's medical expenses in exchange for premiums it collects in advance from all of its insureds.
Insurance companies collect enough in premiums to operate profitably while paying all the claims they have agreed to pay under contracts with the individuals and groups that they insure.