As the title goes, I am wondering if we have the property that $AB$ equals $(A+B)(A\cap B)$ for ideals $A,B$ of a commutative ring $R$.
I came up with this question because I am recently reading about Dedekind domains in algebraic number theory and one can view the ideals $A+B$ and $A\cap B$ as $\text{lcm}(A,B)$ and $\gcd(A,B)$ respectively. In $\mathbb{Z}$, we have $mn = \text{lcm}(m,n)\gcd(m,n)$, and that's why I wonder if we have this analogous result in the language of ideals.
The following is what I've got so far: For $\sum(a_i+b_i)c_i \in (A+B)(A\cap B)$ with $a_i \in A$, $b_i\in B$, and $c_i\in A\cap B$, each $a_ic_i$ lies in $AB$, and so does $b_ic_i$ ($\because R$ is comm.), so $\sum(a_i+b_i)c_i \in AB$.
Then I get stuck with the reverse. Does the reverse hold for any commutative $R$? Dedekind $R$? Or?
Thanks in advance for giving any clue~