Let $X$ and $Y$ be topological spaces, $f:X\to Y$ a function.If $X$ is first countable, $x\in X$, then $f$ is continuous in $x$ if and only if for every sequence in $X$ with $x_n\to x$ we have that $f(x_n)\to f(x)$.
Proof ($\leftarrow $ side).
Fix a local basis $\{b_n:n\in\mathbb N\}$ of $X$ at $x$ such that $B_n\subset B_m$ for $n> m$. Suppose $f$ is not continuous, then there exists an open set B in Y with $f(x)\in Y$ such that for all open set A of X with $x\in A$ we have $f(A)\neq B$.
Particularly, $\forall n\in\mathbb N,$ must exists a point $x_n\in B_n$ such that $f(x_n)\not\in B.$
We have $x_n\to x,$ but $f(x_n)\not\to f(x).$ Hence $f$ is continuous.
I was reading this proof and I got stuck in the bold statement, I was trying to understand it but got confused with the $B_n$ and B and the existence of the point $x_n\in B_n$ ? ? why ?
And also why to put this $B_n\subset B_m$ for $n> m$ condition on the local basis ?
Please help me to understand it.