A signal handler is a function that executes when a signal is "received" by a process.
When a process is (re)scheduled, if there are is a pending signal that is not also blocked, the registered signal handler for the signal executes instead of the current program counter instruction.