concept exit signal in category erlang

This is an excerpt from Manning's book Erlang and OTP in Action.
When an Erlang process dies unexpectedly, an exit signal is generated. All processes that are linked to the dying process receive this signal. By default, this causes the receiver to exit as well and propagate the signal on to any other processes it’s linked to, and so on, until all the processes that are linked directly or indirectly to each other have exited (see figure 1.2). This cascading behaviour allows you to have a group of processes behave as a single application with respect to termination, so that you never need to worry about finding and killing off any leftover processes before you can restart that entire subsystem from scratch.
One of the main ways fault tolerance is achieved in OTP is by overriding the default propagation of exit signals. By setting a process flag called trap_exit, you can make a process trap any incoming exit signal rather than obey it. In this case, when the signal is received, it’s dropped in the process’s mailbox as a normal message on the form {'EXIT', Pid, Reason} that describes in which other process the failure originated and why, allowing the trapping process to check for such messages and take action.
Such a signal-trapping process is sometimes called a system process and typically runs code that is different from that run by ordinary worker processes, which don’t usually trap signals. Because a system process acts as a bulwark that prevents exit signals from propagating further, it insulates the processes it’s linked to from each other and can also be entrusted with reporting failures and even restarting the failed subsystems, as illustrated in figure 1.3. We call such processes supervisors.