An annuity is a contract with a life insurance company. You deposit a lump sum of money, and they agree to pay you a guaranteed income for a set period of time — or for the rest of your life. Annuities are most commonly used to generate retirement income.