Social Security’s annual cost-of-living adjustment (COLA) helps keep retirees afloat as inflation erodes purchasing power.