Kyriba Corp. Interview Question

Why do we use Gradient Descent algorithm in Machine Learning?