What is the purpose of the capital market?

What is the purpose of the capital market? How do capital market securities differ from money market securities in their general characteristics?