I would like to know a reference to understand what an author means with:
"Let $A$ be a commutative algebra with unit. Regard $A$ as the algebra of functions on an affine variety $M$ (possibly singular). Actually points on $M$ are just ideals in $A$ of codimension one."
My doubt is how to regard $A$ in this way and also how to show the above equivalence with ideals.