Companies agree to have their shares listed for trade on the stock exchanges they choose, and members of each exchange are allowed to trade the stocks listed there. Image source: The Motley Fool.