M800 interview question

What is trigger function in Database?