The differences between a health savings account and a flexible spending account are important to understand.