Bookkeeping is recording transactions: categorizing spend, reconciling accounts, keeping the ledger accurate. Accounting is interpreting that record, closing the books, and producing statements and tax filings.
Bookkeeping is the input, accounting is the output. You cannot get useful accounting from bad bookkeeping. We compare the two roles.