Stock exchanges are platforms where shares of publicly traded companies are bought and sold. They provide the infrastructure for trading, ensure fair pricing through supply and demand, and enforce rules and regulations to protect investors. Major stock exchanges include the New York Stock Exchange (NYSE) and the NASDAQ.