A structure sheaf on a space XX is a of rings OX\mathcal O_X whose sections are regarded as functions on open subsets of XX. A is not merely its topological space: its structure sheaf carries the local algebra that distinguishes it from other schemes with the same points.

For the X=SpecAX=\operatorname{Spec}A, the structure sheaf is characterized on a basic Zariski open set

D(f)={pSpecA:fp}D(f)=\{\mathfrak p\in\operatorname{Spec}A:f\notin\mathfrak p\}

by

OX(D(f))=Af,\mathcal O_X(D(f))=A_f,

the obtained by inverting ff. At a point p\mathfrak p, its is OX,pAp\mathcal O_{X,\mathfrak p}\cong A_{\mathfrak p}, a . For example, on Speck[x]\operatorname{Spec}k[x], the section 1/x1/x is regular on D(x)D(x), although it is not a global polynomial.