HSA vs IRA vs Roths

Which is better in the long term? HSAs or traditional IRA or 401(k) or Roth IRA or Roth 401(k)? Which gives the best return? Which is the "safest" (i.e., least likely to lose money to penalties if I have to withdraw it).