Trigger
A trigger is a even driven mechanism which executes statements whenever a specifically mapped DML happens, it runs in the same transaction as same triggering statement. Trigger can be based on type of DML command i.e Update , insert , delete and also it can be initiated based on timing of the DML command i.e before, after & instead.