Take f(x)=x−3x2−9. At x=3 it is 00, which is undefined, so the graph has a hole there. Now try nearby inputs: f(2.9)=5.9, f(2.99)=5.99, f(3.01)=6.01, f(3.1)=6.1. From both sides the outputs close in on 6. That target is the limit, limx→3f(x)=6, even though f(3) does not exist.
Algebra explains the table. Factoring gives x−3(x−3)(x+3), and for every x=3 this equals x+3. The two expressions agree everywhere except at the one missing point, and a limit never looks at that point, so the limit of the fraction equals the limit of x+3, which is 6. Getting 00 is a signal to simplify, not an answer.
A limit is not the same thing as a function value. Let g(x)=x+3 for x=3 but set g(3)=10. The value is 10, yet the limit is still 6, because inputs near 3 still give outputs near 6. A limit can also fail to exist: for h(x)=x∣x∣, inputs just left of 0 give −1 and inputs just right give 1, so the two sides disagree and there is no single target.
Think of it like this. A limit is like filling a gap in a GPS track where the signal dropped: the points just before and just after the gap pin down where the car must have been. If the two sides point to different places, there is no single answer. Unlike a real car, a function may have some other value, or none, at the gap itself.
Core idea. A limit names the single output a function approaches as the input closes in on a target, whether or not the function is defined there.