Basics of Stock market. Stock Market is a market (Stock Exchange) for the trading of company stock and derivatives of same.
Initially companies sell the stocks via primary market.
Later , stocks are brought and sold in the secondary market
Stock has to be listed on the exchange before it is traded in the secondary market.