Now, there is probably more than hundreds of question asking what a neighborhood is, and trust me I've seen most of them. I understand the utility of neighborhoods is that some statemenets are easier to formulate with them eg. My favourite answer in regards to this topic has been this answer. I am also aware that there is a difference between american and non american textbooks (see) on how neighboorhood is defined. I take it to be defined as follows:
For a point $p$ of a topological space $(X,\tau)$ a neighboorhood $N$ is a subset of $(X,\tau)$ which contains a $p$ and also an open set $U_p$
And, I take open set to be defined as those elements in $\tau$.
Now, we got the conventions out of the way, let us move to the actual question.
A function $f:(X,\tau_X) \to (Y,\tau_Y)$ is said to be continous at a point $ a \in (X,\tau_X)$ , then for preimage of any neighborhood of $f(a)$ is a neighborhood.
Why couldn't we rather say preimage of any open set about $f(a)$ is open ? I think it may have something to do that continuity at a point not saying anything about continuity anywhere else see eg 1, but I can't make the issue precise.