Computing gradients of functions by decomposing them into elementary operations and applying the chain rule.