In Halmos’s Book, it is written that,
The notation of families is the one normally used in generalizing the concept of Cartesian product. The Cartesian product of two sets $X$ and $Y$ was defined as the set of all ordered pairs $(x,y)$ with $x$ in $X$ and $y$ in $Y$. There is a natural one-to-one correspondence between this set and a certain set of families. Consider, indeed any particular unordered pair $\{a,b\}$ with $a\ne b$, and consider the set $Z$ of all families $z$, indexed by $\{a,b\}$, such that $z_a\in X$ and $z_b\in Y$. If the function $f$ from $Z$ to $X\times Y$ is defined by $f(z)=(z_a,z_b)$, then $f$ is the promised one-to-one correspondence.
Till this portion I think I understand (I have quoted this portion so that my next quote doesn't seem abrupt. If anyone has a problem with it, he/she is welcome to remove it.). In fact, I think that I can prove the one-to-one correspondence also which follows trivially from the definition of ordered pairs.
However, the portion that I cannot understand is the following,
The difference between $Z$ and $X\times Y$ is merely a matter of notation. ... . The generalization is now straightforward. If $\{X_i\}$ is a family of sets $(i\in I)$, the Cartesian product of the family is, by definition the set of all families $\{x_i\}$ with $x_i\in X_i$ for each $i$ in I.
Why in the first line it is said that the difference between $Z$ and $X\times Y$ is “merely” a matter of notation?
Also, I don’t understand anything from the rest portion of the quote. In fact, I think that I am having trouble understanding the portion mainly because of the fact that I am unable to construct examples.
Can anyone elaborate the second passage with examples?