When you buy stock in a company, you become a part-owner of the company in proportion to the number of shares you purchase. Companies sell stock to raise money and these shares of stock are listed on stock exchanges which are marketplaces. Like any other item in a market, stock prices also change. You can profit from owning stocks when the share price increases over time, or from quarterly dividend payments.