IBM interview question

How does gradient descent help with Optimisation.