Understanding the difference between these types of accounts can make a big difference in your after-tax returns.