Trigger is a event based action.
whenever we perform insert,update and delete actions then it will fires automatically.