I am trying to understand the following fact from the direct product of subgroups.
Suppose that $G$ and $H$ be two groups. Consider direct product $G\times H$. We know that if $H_1\leq H$ and $G_1\leq G$ then $G_1\times H_1\leq G\times H$. But not every subgroup of $G\times H$ has this form. For example, in the case $G=H$ we can take $\Delta:=\{(g,g): g\in G\}$ which is a subgroup of $G\times G$ but has not form $G_1\times H_1$ where $G_1$ and $H_1$ are subgroups of $G$ and $H$, respectively.
But what if $G\neq H$? I am not able to come up with something similar.
Would be very grateful if somebody can show how to find the counterexample in this case, i.e. when $G\neq H$.