What is autodiff?

Automatic differentiation. For any DAG with a scalar output, it allows calculating its partial derivative wrt the input parameters.

I don't understand what the use automatic differentiation for in this context.

Some use cases and examples are provided here: https://www.tinyvolt.com/blog/bringing-autodiff-to-geometry