Let $I$ and $J$ be two prime ideals in a commutative ring $R$ with unity. Is it true that $I\cdot J=I\cap J$? I know that it is not true if the ideals under consideration are not prime: consider the ideals $(6)$ and $(8)$ in the ring $\Bbb{Z}$. Their intersection is $(24)$, but their product is $(48)$.
However, I cannot think of a counter-example in the case of prime ideals. I tried proving the assertion in the following way: We know that $I\cdot J\subset I\cap J$. Hence, we shall try and prove the inclusion in the other direction.
Let $a$ be an element in $I\cap J$ that is not present in $I\cdot J$. Then $a^2\in I\cdot J$. How will this then go on to prove that $a\in I\cdot J$?
One has $I\cdot J=I\cap J$ if the $I$ and $J$ are coprime ideals, i.e. if $I+J=R$. In general, one can only say $\;I\cdot J\subseteq I\cap J$.
This is the basis of the Chinese remainder theorem: if $I$ and $J$ are coprime ideals then $I\cdot J=I\cap J$, and $$R/(I\cdot J)=R/I\times R/J.$$