What is the difference between an accountant and a bookkeeper?

A bookkeeper records daily transactions, while an accountant analyzes financial data and prepares formal reports.