Let $R,S$ be two rings with identity. Prove that every ideal of $R\times S$ is of the form $I \times J$ where $I$ is an ideal of $R$ and $J$ is an ideal of $S$ .
Obviously $I \times J$ is an ideal of $R\times S$. Conversely let us assume that $M$ is an ideal of $R\times S$.
To show $M=I\times J $. How to proceed?