In general
A health savings account is exempt from taxation under this subtitle unless such account has ceased to be a health savings account. Notwithstanding the preceding sentence, any such account is subject to the taxes imposed by section 511 (relating to imposition of tax on unrelated business income of charitable, etc. organizations).