Substitution is a technique making it possible to differentiate some functions which otherwise could not be differentuated.
As an example below, y=sin(2x).
let u=2x because we can differentiate si n(u) with respect to u.
\dfrac{dy}{dx} = cos(u) 2
We move the 2 to the front and replace the u with 2x.
\dfrac{dy}{dx} = 2 cos(2x)