A trigger is procedural code (PL/SQL in Oracle) that automatically executes in response to certain events on a table or view. The answer captures both aspects: it's written in PL/SQL (option A) and is executed by events (option B). Triggers are used to enforce business rules, maintain data integrity, and automate database tasks.