A trigger is an Apex script that executes before or after specific data manipulation language (DML) events occur, such as before object records are inserted into the database or after documents have been deleted. Triggers enable to perform custom actions before or after changes to Salesforce records.

BY Best Interview Question ON 23 Mar 2019