Acting as a provider of loans is one of the principal tasks for financial institutions. For other institutions, issuing of debt contracts such as bonds is a typical source of funding. Bank loans and credit are one way to increase the money supply. Legally, a loan is a contractual promise of a debtor to repay a sum of money in exchange for the promise of a creditor to give another sum of money.