In a database system a transaction might consist of one or more data-manipulation statements and queries, each reading and/or writing information in the database.
If no errors occurred during the execution of the transaction then the system commits the transaction.