The primary market is where companies initially list and trade public shares, often with the help of underwriters who assist in setting the share price and attracting large investors. Once shares are traded on the secondary market, they are bought and sold among investors, with prices fluctuating based on demand and supply.