What Happens to Credit Card Debt when Someone Dies?

If you get bogged down with a high balance that you can’t easily afford to pay off, it can take years to get out of debt. However, what happens to your credit card debt, if you die before you’ve repaid it?