When you roll back a transaction, either automatically, or by explicit user request, you undo all of the operations in that transaction.
Rolling back the database means returning the database to an earlier state.