The role of banks in the economy

The bank is able to take the deposits, which start out as liabilities, and turn them into assets. This is accomplished by the banks investing the money that is deposited in a way that gains them higher returns than what is being paid to the depositor's account when they receive interest. This allows the banks to loan money and still have the funding to cover any withdrawals that an account holder may make

Also read this article