A stock market is an institution where humans and computers buy and sell shares of companies.