The database system writes undo log entries (before images) for every transaction that changes data in the database. In the undo log entries, the database system saves the original values of all database objects that the transaction changes.
The database system uses undo log entries if it has to undo an incomplete transaction (ROLLBACK).
Concepts of the Database System