Annuities provide insurance against the risk of outliving your money after you stop working. You get the potential to grow your savings and create guaranteed income for life so you can retire your way.
While they seem to function like an investment (that is, you put your money in and accept the risk of whether it increases or decreases), many are actually insurance contracts. In general, if you follow the rules of the contract, you receive certain guarantees in return.