Informal definition $1$:
This is the way in which I studied it, and it makes sense to me.
As $x$ gets closer and closer to $a$, $f(x)$ gets closer and closer to $l$.
Informal definition $2$:
$f(x)$ can get arbitrarily close to $l$, by taking $x$ sufficiently close to $a$.
I am not able to relate these two informal definitions. How do we relate these definitions?
The second informal definition is more precise. Here's the problem with the first one: consider $f(x) = x^2$, and take $x \rightarrow 0$. Now I claim that the limit is $-1$:
This statement is true, but the actual limit is certainly not $-1$.
The problem with the first definition is that it's so informal that it's missing the critical part of the concept, which is that I should be able to make it as close as I want to $-1$ by choosing values of $x$ close to $0$ (which I can't in this case). That precision is what the second definition supplies.