A bank is a financial intermediary that creates credit by lending money to a borrower, thereby creating a corresponding deposit on the bank's balance sheet. Lending activities can be performed either directly or indirectly through capital markets. Due to their importance in the financial system and influence on national economies, banks are highly regulated in most countries.