It's a really cool result that shows that as long as some cdf is continuous, it is possible to sample from it through a uniform distribution.
Let be the cdf such that it is injective, find and then plug a uniform distribution from in there and boom, even though you sampled from a uniform distribution, through that process you can mathemagically sample from any continuous distribution trivially.