Layer-based vs Node-based Compositing

The simplest explanation of the difference between layer-based and node-based compositing applications, and when to use what.