The primary market is where new securities are issued and sold for the first time, while the secondary market is where existing securities are traded. Example: An IPO occurs in the primary market, and trading of shares on a stock exchange happens in the secondary market.
Summary
Primary markets issue new securities; secondary markets trade existing ones.