I first learned about the Cartesian product as ordered pairs, but soon when we need to get the infinite Cartesian product, we regard it as mapping. I.e.$\prod U_i(i \in I)$= $(f:I \longrightarrow \cup_{i \ in I} U_i \wedge f(i)\in U_{i})$. I know that in essence, they are talking about the same thing, but how can a mapping be equivalent to ordered pairs? It is quite confusing.
My question is
Why a set of mappings is equivalent to a set of ordered pairs?
Definition of the Infinite Cartesian Product fully solved my question.