I am presently reading chapter two of Rudin, Principles of Mathematical Analysis (ed. 3). He provides the following definitions:
Definition: If $\boldsymbol{x} \in \mathbb{R} ^ k$ and $r > 0$, the open ball $B$ with center at $\boldsymbol{x}$ and radius $r$ is defined to be the set of all $\boldsymbol{y} \in \mathbb{R} ^ k$ such that $| \boldsymbol{y} - \boldsymbol{x} | < r.$
Definition: A neighbourhood of a point $p$ is a set $N_r(p)$ consist of all points $q$ such that $d(p,q) < r$. The number $r$ is called the radius of $N_r(p)$.
What I have been attempting to figure out is what the difference between these two definitions are. Ilya, in the following question provides the following description -
"The neighborhood of a point $x\in \Bbb R$ is any subset $N_x\subseteq \Bbb R$ which contains some ball $B(x,r)$ around the point $x$. Note that in general one does not ask neighborhood to be open sets, but it depends on the author of a textbook you have in hands."
In Kaplansky, Set Theory and Metric Spaces he presents an example where by setting the distrance function $d(p,q) = |a-b|$ then we obtain a metric space. Then combining this statement and the part of Ilya's answer that a neighbourhood contains some ball, a ball is like a special case of a neighbourhood.
The following two theorems seem to give support for this case:
Theorem $27$ from Kaplansky: Any open ball in a metric space is an open set.
Theorem $2.19$ from Rudin: Every neighbourhood is an open set.
So essentially they are both open sets, however, the neighbourhood has a more general distance function.
I would appreciate some clarification on this matter.