What is triggers in SQL?

In MySQL, triggers can be used as a replacement for any task that we need to perform after a certain task performed. This will be executed automatically in response to specific events, such as INSERT, DELETE and UPDATE operations on a table