A company can raise capital by selling ownership stakes in the form of shares to investors who become stockholders. This is known as equity funding. Private corporations can raise capital by selling equity stakes to family and friends or by going public through an initial public offering (IPO).