While self learning about the definition of limit from Calculus Early Transcendentals by James Stewart I could understand few portions of it. The statement:
"Let $f$ be a function defined on some open interval that contains the number $a$, except possibly at $a$ itself. Then we can say that the limit of $f(x)$ as $x$ approaches $a$ is $L$"
I could not understand what the author has meant to refer to by "open interval" and "contains the number $a$, except possibly at $a$ itself"
By far I assumed that he meant that the function has to be defined for values as close as the point at which the limit is to be determined but it might not be defined exactly at that point. But I am completely clueless about the "open interval" portion. By open interval, I used to understand an inequality like $a<x<b$ or $(a,b)$, If author actually meant this then does that mean we cannot determine limits for functions which have closed interval as domain or such domain which does not extend from negative infinity to positive infinity?
N.B: I am not a math major student