What do insurance companies do with the premiums people pay?

Part of it is used to pay the wages of the people who work for the insurance company, part of it goes as earnings to the people who own the company, and some goes out to cover damages that insurance holders claim compensation for.