Let $X$ and $Y$ be topological spaces (not necessarily assumed to be Hausdorff or to have any additional property) and let $f:X\to Y$ be a given function. Is it true that $f$ is continuous iff for every $x\in X$, and every net $\{x_i\}_i$ converging to $x$, one has that $f(x_i)\to f(x)$.
PS: I have searched for this specific question in MSE and, although I found several posts discussing it (this, this, and this) with varying degress of objectivity, and using various additional hypothesis (Hausdorff, completely regular, first countable) I do not believe it can be found in the exact terms above.
I therefore thought it would be nice to register it here.
I am also providing an answer which I hope is similar to the one in The Book $\ddot \smile$