I have been introduced to calculus starting from limits. So from my point of view I have been considering that for $$\int_a^b{f(x) dx}$$ $x$ starts from a very closer value of $a$ such that $x→a$ and stops at $x→b$
But I have also known that at the very beginning of calculus there did not prevail any notion of limits. So from that point of view $x$ should start from $x=a$ to $x=b$.
So which perspective is correct? Does $x$ overlap those limits or $x$ don't?
Context of this question: If a function having limits for which the function itself is undefined then what would be the condition of integral?
It will be really helpful if this question is answered based on the difficulty of a high school student. I mean if a high school can understand the answer without any difficulty. Thanks.