If you opt into an HSA, you or your employer put pre-tax dollars in as an investment. You are then able to use that money to pay for qualified health care costs that are not reimbursed by your HDHP.