A stock exchange or stock market is a physical or digital place where investors can buy and sell stock, or shares, in publicly traded companies. The price of each share is driven by supply and demand.
The more people want to buy shares, the higher the price goes. Less demand, and the price of a share drops. Stock markets now exist in most countries, but the first appeared in 17th century Amsterdam.