The primary market is where securities are created, while the secondary market is where those securities are traded by investors. In the primary market, companies sell new stocks and bonds to the public for the first time, such as with an initial public offering (IPO).