Understand health savings accounts through eligibility, contributions, medical withdrawals, investing, recordkeeping, and tax rules.