It's a well known result that the gaussian primes $\mathbb{Z}[i]$ can be characterized as normal primes $3 \bmod 4$ or normal primes $3\bmod 4$ times $i$. As well as $a+bi$ where $a,b$ are non-zero and $a^2 + b^2$ is prime.
How does one characterize the primes of the ring $\mathbb{Z}[\sqrt{2}]$? Or generally of $\mathbb{Z}[\sqrt{n}]$?
That ring is a unique factorization domain. The primes are $\sqrt{2}$, the rational primes congruent to $\pm 3 \pmod{8}$ and the two factors of each of the rational primes congruent to $\pm 1 \pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference $$ p = x^2 - 2y^2 = (x + y\sqrt{2}) (x - y\sqrt{2}) . $$ So, for example, the prime factorization of $7$ is $$ 7 = (3 + \sqrt{2}) (3 - \sqrt{2}) . $$
This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.
You can read all about the uncomplicated cases in Elementary Number Theory: An Algebraic Approach.