This textbook is intended for advanced undergraduate or beginning graduate students with some previous experience of rings and fields. Alongside standard algebraic notions such as generators of modules and the ascending chain condition, it develops in detail the geometric view of a commutative ring as the ring of functions on a space.