Essentially, it tricks the plant into thinking it is dying or being destroyed. The plant then protects itself by generating roots. Of course, this is the most simplified explanation. Think of it as a sort of chemical chain reaction within the plant for self-preservation. This is probably the easiest way to explain it without getting too technical.