Proposition (irreducible iff prime in UFD)

Let $R$ be a unique factorisation domain, and $r\in R$ be an element.

Then $r$ is irreducible iff $r$ is prime.

Proof