The primary market is where new stocks or bonds are issued and sold directly to investors. When a company goes public through an Initial Public Offering (IPO), the shares are sold in the primary market. After that, they are traded in the secondary market (stock exchange).