A money market fund invests in short term debt instruments such as commercial paper and government bonds close to expiry (short term gilts and treasury bills).
Money market funds invest in low risk and liquid securities. This makes them as much an alternative to bank deposits as to bond funds.