At a given point on a curve, the gradient of the curve is equal to the gradient of the tangent to the curve. The derivative (or gradient function) describes the gradient of a curve at any point on the curve. Similarly, it also describes the gradient of a tangent to a curve at any point on the curve.

Gradient of Function

Gradient of tangent