Companies obtain capital through both long-term and short-term funds. Long-term funds like shares and debentures are expected to be invested in long-term assets like plants and buildings. Short-term funds such as overdrafts are meant for short-term needs like stock purchases and paying creditors. However, funds do not always move as expected and can shift from long-term to short-term uses or vice versa. Profits from core business operations also generate funds, while losses deduct from available funds. The cash flow statement analyzes movements of funds within a company.