Sometimes, companies will lie about how profitable they are to lure investors in. The problem is that they are losing money and are in the verge on bankruptcy. Investors who invest in the company end up losing their money. When companies inflate their earnings to look good even though they are losing money, this is called "cooking the books."