The stock market only cares about the type of security and not how it is sold.
The primary and secondary markets define how a security is sold. In the primary market, a bond is sold for the first time. This means that the seller is the original issuer of the security being sold. In the secondary market, the bond is sold a second or more times. In most cases, this means that the two parties to the transaction have no direct connection to the original issuer of the bond. While the primary and secondary markets make up the bulk of the capital market, there are also third and fourth markets that complete the system.
Almost anything can be broken down into a monetary value and traded as a security in the primary and secondary markets. Stocks represent money coming into a company in exchange for ownership rights. The bonds represent debts that the company has with third parties. Commodities are semi-theoretical stocks of basic goods used throughout the world. These and hundreds of other elements make up the capital market.
The capital market is divided into submarkets that are defined by one of two things: how the security is sold or what the security is. The two methods of market definition are unique from each other. For example, the primary and secondary markets care about how the bond is sold rather than what the bond actually is, while the stock market only cares about the type of bond and not how it is sold.
In the primary market, the issuer first issues and sells a bond. This is one of the main ways startups raise capital. The company is divided into shares and passed on to initial investors according to the size of their investment. The company then goes through an initial public offering (IPO), where investors who are not originally part of the company can buy it.
The secondary market makes up most of the rest of the capital market. In this market, a security is sold using a common investment method at any time after its initial sale. If the stock is sold a thousand times, each of those sales will be in the secondary market.
While the primary and secondary markets make up the bulk of the capital market, there are two other aspects. The third market is made up of bonds that are sold through third parties, but outside of standard bond exchanges. This is a common method of transferring currency using the foreign exchange market. The fourth market is made up of stock exchanges that are made directly between two parties, without supervision. These sales are entirely outside of typical regulatory procedures.