Why is careful management of accounts receivable and accounts payable so essential to ensuring positive cash flow?

Why is careful management of accounts receivable and accounts payable so essential to ensuring positive cash flow?