I would like to know of some examples of a prime ideal that is not maximal in some commutative ring with unity.


Let $R$ be an integral domain and consider $R[x]/(x) \cong R$. It's not a field (unless $R$ is), so $(x)$ is not maximal. Since $R$ has no zero divisors, $(x)$ is a prime ideal.


Take $(0)$, the zero ideal, in $\mathbb{Z}$, which is prime as the integers are an integral domain, but not maximal as it is contained in any other ideal.