I gather that rings of germs of functions at a point $p$ on a manifold/variety/etc. are local with the maximal ideal containing exactly the germs of functions which vanish at $p$. So in some sense, these rings, which happen to be local, describe the local behavior of functions. But what about other local rings? $\mathbb Z/p^n\mathbb Z$ is local for primes $p$ and $n\geq1$. Can we interpret it as a ring of germs of functions on some space?
I found a way to do so for fields $F$, at least. They can be seen as the ring of functions (or germs thereof, makes no difference in this case) on a one-element topological space $\{p\}$, where $x(p):=x$ for all $x\in F$. Which seems like it would make sense in a context where local rings actually are rings of germs: local rings with trivial maximal ideal (fields) are germs of functions on a trivial space. But how to generalize this?