A transaction is an execution of a user program and is seen by the DBMS as a series or list of actions. The actions that can be executed by a transaction include the reading and writing of database.