A bunch of people give a company money, and in return those people (called investors) get a certain amount of shares of stock.