For a lot of us, estate planning these days has become about knowing what to pay and how to pay it (which source of funds) to minimize the chance of passing on any debt or impoverishing those left behind.
Lifehacker has a good, plain-English article that introduces the ideas.
https://twocents.lifehacker.com/what-happens-to-your-debts-when-you-die-1825725750