What is the stock market? How does a stock market work? What is a share? How can you buy shares of public companies?
A stock market is a marketplace, where you can trade (buy or sell) shares of public companies. A stock is a partial ownership of a certain company.
Public companies like Facebook, Apple, Google, Twitter sell their shares, because they want to raise capital, to gain more money. They use it to grow.
Both traders and investors can buy and sell shares.