Database TransactionSuppose we have to calculate total marks of a student. Then what are the steps involved in it? Get the marks in each subject (say we have 3 subjects), calculate the total and then display it. Here all the 3 steps are called as transaction and it consists of 3 small actions which cannot be further divided.
A transaction can be defined as a group of tasks. A single task is the minimum processing unit which cannot be divided further.