A metric space is compact iff every sequence has a convergent subsequence. Using it show that the product metric space of two compact metric spaces is compact where the product of two metric spaces $(X,d_X),~(Y,d_Y)$ is defined by $$d_{X\times Y}((x_1,y_1),(x_2,y_2))=\max\{d_X(x_1,x_2),d_Y(y_1,y_2)\}$$
I can see the ordered pair sequence of two sequences having convergent subsequences not necessarily posseses convergent subsequence e.g. $$\{(2,1/2),(1/2,2),(3,1/3),(1/3,3),...\}$$
Then how do the given characterization help us?