The stock market is a collection of markets and exchanges where activities related to the buying, selling, and issuance of shares of publicly-held companies take place. These financial activities are conducted through institutionalized formal exchanges or over-the-counter (OTC) marketplaces that operate under a defined set of regulations.