A 529 plan is an investment account that offers tax benefits when used to pay for qualified education expenses for a designated beneficiary.