Ringed space/Definition

A space together with a collection of commutative rings, the elements of which are 'functions' on each open set of the space.