Academic definition:
A capital market is a market for securities (debt or equity), where business enterprises (companies) and governments can raise long-term funds. In primary markets, new stock or bond issues are sold to investors via a mechanism known as underwriting. In the secondary markets, existing securities are sold and bought among investors or traders, usually on a securities exchange, over-the-counter, or elsewhere. [source Wikipedia].
The truth: