When it comes to investing for your future, it's better late than never. And in some cases, for tax purposes, the government is happy to let you put things off.

You still have until Tax Day — April 18 this year — to make contributions to a traditional or Roth individual retirement account for tax year 2022. The same goes for health savings accounts.