Accounting has been defined as, by Professor of Accounting at the University of Michigan William A Paton as having one basic function: "facilitating the administration of economic activity. This function has two closely related phases: 1) measuring and arraying economic data; and 2) communicating the results of this process to interested parties."
As an example, a company's accountants periodically measure the profit and loss for a month, a quarter or a fiscal year and publish these results in a statement of profit and loss that's called an income statement. These statements include elements such as accounts receivable (what's owed to the company) and accounts payable (what the company owes). It can also get pretty complicated with subjects like retained earnings and accelerated depreciation. This at the higher levels of accounting and in the organization.
Much of accounting though, is also concerned with basic bookkeeping. This is the process that records every transaction; every bill paid, every dime owed, every dollar and cent spent and accumulated.