Another way to say "dying has the effect of decomposition." is "Decomposition is triggered by dying."