The stock market is a collection of markets where stocks (shares of ownership in businesses) are bought and sold. These financial instruments can be traded either on exchanges or over-the-counter (OTC). Stock markets are vital to the functioning of the modern economic system, providing companies with access to capital in exchange for giving investors a slice of ownership in the company.