An inherited IRA lets you keep retirement savings in a tax-advantaged account, but you’ll need to follow strict distribution rules to avoid paying taxes.