A hedge fund primarily focuses on actively managing a diversified portfolio of investments across various asset classes, including stocks, bonds, and derivatives, with the goal of generating returns for investors. In contrast, a private equity fund primarily invests in privately held companies, often with the intention of actively participating in their management and increasing their value before exiting for a profit.