A stock market is a marketplace where stocks, which represent ownership in a company, are bought and sold by investors. It's a platform that connects companies seeking capital to expand with investors looking to buy shares of ownership to grow their wealth through dividends or appreciation in value .