Once one has a rigorous definition of the limit of a function, one can give a rigorous definition of continuity of a function at a given point, and it is one of the main reasons why the definition of the limit of a function is as we know it. Say we wish to explain why the function
$$
f(x)=
\begin{cases}
x^2, &\text{ if } x \ne 2,\\
2017, &\text{ if } x =2
\end{cases}
$$
is so obviously discountionuous at $c=2.$ It is easy:
$$
2017=\boxed{f(2) \ne \lim_{x \to 2} f(x)}=\lim_{x \to 2} x^2=4,
$$
where the penultimate equality is justified by the fact that $f(x)=x^2$
whenever $x \ne 2.$
So the definition of the limit of a function at an inner point $c \in (a,b)$
$$
\lim_{x \to c} f(x)=L:
$$
for every $\varepsilon > 0$ there exists $\delta > 0$ such that
for all $x \in (a,b)$ with $0 < |x-c| < \delta$ implies $|f(x)-L| < \varepsilon.$
Thus we exclude $c$ from points at which we analyze the $\varepsilon-\delta$ condition above. Moreover, the function may simply not be defined at $c,$ but we can be interested where the values $f(x)$ accumulate as $x$ approaches $c,$ and so on.