I'm a beginner of algebraic geometry, sorry to ask basic question.
I heard 'curve' over algebraically closed field $k$ is defined as 'integral separated scheme of finite type scheme over $k$' in terms of scheme theoretic description.
But I cannot understand why this is generalization of the 'curve' in terms of algebraic variety.
For example, elliptic 'curve' in terms of scheme is, like pair of $Spec \Bbb{C}[x,y]/(y^2-x^3-x)$ and scheaf as a set, but elliptic 'curve' in terms of algebra variety is
{$(x,y) \in \Bbb{C}× \Bbb{C}|y^2=x^3-x$}∪{∞}$⊂ \Bbb{P}^2$. They are not the same even as a set, but why can we say scheme theoretic 'curve' is generalization of 'curve' as algebraic variety?