The point of owning a company is to have a share of its profits. But when you do that, you also sign onto a multitude of risks (like the profit going out the window!)
So the stock market allows you to take those risks and mitigate them in near-as-possible real time.
So the stock market allows you to take those risks and mitigate them in near-as-possible real time.