Accrual basis means revenue and expenses are recognized and recorded when they occur, while cash basis accounting means these line items aren't documented until cash exchanges hands.
Cash basis accounting is easier, but accrual accounting portrays a more accurate portrait of a company's health by including accounts payable and accounts receivable.
The Accrual basis is the most commonly used method, especially by publicly-traded companies as it smooths out earnings over time.