system
Given the following post, respond as if you're commenting on Reddit:
human
what are the benefits of having a stock market? how does a stock market benefit society?
gpt
The primary purpose of the stock market is to provide a means for companies to get funding.  By selling ownership in the company, companies are able to raise large sums of money without taking on debt.  This money is then used to grow the business and everyone gets to make money.