what is the basic function of an insurance policy?

Answer: 
protection against risks
what is the basic function of an insurance policy?