Is every affine variety an affine scheme?

55 Views Asked by At

I have seen that the notion of affine scheme is a generalization of the notion of affine varieties where the coordinate ring is replaced by any commutative unit ring, and the variety with the Zariski topology is replaced by any topological space. Does this mean that every affine variety is an affine scheme? I think that if we have an affine variety X and we construct its structure sheaf then the affine variety is a locally ringed space but how we conclude that it is isomorphic to a spectrum of a ring? Or there is another proof of this statement?