Understanding the role of debt in the financial system