Tax planning and tax shelters are both ways of reducing taxes, but they operate very differently in the eyes of the IRS. Tax planning involves using legitimate, clearly legal strategies within the tax code — contributing to a retirement account, timing income and deductions, choosing the right business structure, and taking advantage of credits and exclusions you're entitled to. A tax shelter, in its negative sense, refers to an investment or arrangement that's primarily designed to generate artificial tax losses or deductions with little economic substance — the goal is tax reduction rather than any genuine business or investment purpose. The IRS actively pursues abusive tax shelters and has published lists of transactions it considers illegal tax avoidance schemes. Aggressive tax planning that pushes the boundaries can also attract scrutiny, which is why distinguishing between legitimate tax reduction and schemes that lack real economic substance matters.