The primary market is where new securities are issued and sold for the first time, with proceeds going to the company, while the secondary market is where those existing securities are later traded among investors, with proceeds going to the selling investor.