Let $R=\prod k$ (infinitely many copies) be considered a module over itself, $k$ a field. Then $\bigoplus k$ is a submodule of $R$. Suppose that $N$ is any other nontrivial submodule (equivalently, ideal) of $R$.
Show that $N$ and $\bigoplus k$ intersect nontrivially: take an arbitrary nonzero element of the former, and multiply it by an appropriately coordinate-annihilating element of $R$, and you remain in $N$...