The money markets are the place where money and other liquid assets like treasury bills and bills of exchange can be lent and borrowed for a time span. The money markets primary function is to enable banks,building societies and companies to manage their cash and other short term assets and liabilities. The money market are the markets in deposits and short term financial instruments, and where money can be converted into longer period loans.
This is a wholesale market for banks,companies,money market brokers and discount houses. Discount houses are the market makers for most of these assets. Banks who are short of funds temporarily, can borrow from money markets. Any surplus of funds of the banks can be lent here. Banks,companies and governments can also borrow wholesale funds.
The efficient operation of banking system is helped by the money market. So the market provides the liquidity and correct any imbalances between the banking system holistically and the government.