In basic terms, a limit is what a function tends toward as the argument of the function approaches a point, not necessarily in the domain of the function.

The derivative is derived from a "secant function" which takes the slope between two points on the function:

The derivative is the limit of this function as the two points become very close, or ideally meet:

Typically this is given in the form of a function of x:

-Dan