Limits are a tool you can use to find the behavior of a function in the immediate neighborhood of its undefined points or ranges of points. Limits are the basis of calculus, and are used to define continuity, derivatives, and integrals.