How does the functioning of the stock market impact the economy of a country?

Explore the relationship between stock market volatility and the country's economy.