A stock market is a public market for the trading of company stock and derivatives at an agreed price; these are securities listed on a stock exchange as well as those only traded privately.
The size of the world stock market was estimated at about $36.6 trillion US at the beginning of October 2008. The total world derivatives market has been estimated at about $791 trillion face or nominal value, 11 times the size of the entire world economy. The value of the derivatives market, because it is stated in terms of notional values, cannot be directly compared to a stock or a fixed income security, which traditionally refers to an actual value. Moreover, the vast majority of derivatives 'cancel' each other out (i.e., a derivative 'bet' on an event occurring is offset by a comparable derivative 'bet' on the event not occurring.). Many such relatively illiquid securities are valued as marked to model, rather than an actual market price.
The stocks are listed and traded on stock exchanges which are entities of a corporation or mutual organization specialized in the business of bringing buyers and sellers of the organizations to a listing of stocks and securities together. The stock market in the United States is NYSE while in Canada, it is the Toronto Stock Exchange. Major European examples of stock exchanges include the London Stock Exchange, Paris Bourse, and the Deutsche Börse. Asian examples include the Tokyo Stock Exchange, the Hong Kong Stock Exchange, and the Bombay Stock Exchange. In Latin America, there are such exchanges as the BM&F Bovespa and the BMV.
Trading
Participants in the stock market range from small individual stock investors to large hedge fund traders, who can be based anywhere. Their orders usually end up with a professional at a stock exchange, who executes the order.
Some exchanges are physical locations where transactions are carried out on a trading floor, by a method known as open outcry. This type of auction is used in stock exchanges and commodity exchanges where traders may enter "verbal" bids and offers simultaneously. The other type of stock exchange is a virtual kind, composed of a network of computers where trades are made electronically via traders.
Actual trades are based on an auction market model where a potential buyer bids a specific price for a stock and a potential seller asks a specific price for the stock. (Buying or selling at market means you will accept any ask price or bid price for the stock, respectively.) When the bid and ask prices match, a sale takes place, on a first-come-first-served basis if there are multiple bidders or askers at a given price.
The purpose of a stock exchange is to facilitate the exchange of securities between buyers and sellers, thus providing a marketplace (virtual or real). The exchanges provide real-time trading information on the listed securities, facilitating price discovery.
Market Participants
A few decades ago, worldwide, buyers and sellers were individual investors, such as wealthy businessmen, with long family histories (and emotional ties) to particular corporations. Over time, markets have become more "institutionalized"; buyers and sellers are largely institutions (e.g., pension funds, insurance companies, mutual funds, index funds, exchange-traded funds, hedge funds, investor groups, banks and various other financial institutions). The rise of the institutional investor has brought with it some improvements in market operations. Thus, the government was responsible for "fixed" (and exorbitant) fees being markedly reduced for the 'small' investor, but only after the large institutions had managed to break the brokers' solid front on fees. (They then went to 'negotiated' fees, but only for large institutions).
However, corporate governance (at least in the West) has been very much adversely affected by the rise of (largely 'absentee') institutional 'owners'.
source : wikipedia.org, seekingalpha.com