If $K$ is a field then the polynomial ring $K[x_1,\ldots, x_n]$ is a UFD. On the other hand, quotients of such a polynomial ring usually don't enjoy unique factorization: consider, for instance, $\Bbb R[x,y]$ modulo the ideal $(x^2+y^2-1)$. Then $x^2=(1-y)(1+y)$ and likewise $y^2=(1-x)(1+x)$. (Over the complex numbers we also have $1=(x+iy)(x-iy)$, and, as Georges points out, the quotient ring is in fact a UFD.)
My question is: are these (in some sense) the only examples which can be factored in different ways? Let me explain what I mean: The above quotient ring (over the reals), call it $A$, is Noetherian so every element can be factored into irreducible ones. I'd be interested to see further elements (not a multiple of the above ones) which don't factorize uniquely. Can something interesting be said about those elements?
What happens in more general quotient rings (let's assume they are domains)?
Thanks for any help and pointers (in particular, the ones already received!), as well as for your patience if this is trivial.