When companies need to raise financial resources for expansion, they issue securities like equity shares, preference shares, and debentures through primary markets. Investors then trade these securities on secondary markets. Equity shares can be traded through brokers or brokerage houses on secondary markets, while preference shares and debentures cannot be traded in secondary markets. Primary markets involve one-time activity by companies to mobilize funds, whereas secondary markets allow ongoing trading of securities among investors.