Once a company goes public and the price of its shares go up I guess some investment firms can make money that way. But how do investment firms that invest in non-public companies (e.g. small startups) make money? Do they just keep on investing until the company goes public and they can reap profits (through stock prices etc.)?