What is the difference between bookkeeping and accounting?

How do bookkeeping and accounting compare? I've heard people use them interchangeably, but some people tell me they should be differentiated.

Hello,

Bookkeeping is the recording of transactions. Accounting analyzes and and makes meaning of those transactions so they can be used for financial, managerial, and tax purposes.