Among quadratic integer rings, $\mathbb{Z}[i]$ and $\mathbb{Z}[\frac{1+\sqrt{-3}}{2}]$ have their special names, namely Gaussian integers and Eisenstein integers respectively. I guess this is named so because these rings are particularly more important than other quadratic rings. Moreover, one can completely characterize prime elements of these rings.
I asked my professor (her major is number theory) and she said one reason why these rings are important is that $\mathbb{Z}$,Gaussian and Eisenstein rings are related to elliptic curves. However, it is not very clear to me how.
Why are Gaussian & Eisenstein integers are important? And what is a use of their prime elements?