HCLTech interview question

What is Trigger? The code