The financial system comprises financial markets, intermediaries, and institutions that facilitate the flow of funds between lenders and borrowers. It performs the essential function of channeling savings from those with surplus funds to those who need to borrow. Financial intermediaries such as banks, insurers, and investment funds accept deposits or payments from lenders and invest or lend those funds to borrowers. A variety of financial instruments representing obligations to pay are used to transfer funds and allocate resources efficiently within the system.