Well, we seek a line crossing a given point. And tangent means "toucher" that means the slope tangent = local slope of the curve at the given point.
in the end we can calculate the local slope with usage of derivation.