An annuity is a financial contract that provides a stream of payments, either immediately or at a future date. It works by investing a sum of money to generate returns, which are then distributed as payments over a specified period. Annuities can offer stability and security for retirement income, with various types to choose from based on individual needs.