The contravariant functor $\text{Spec} : \text{Rng} \rightarrow \text{RngSp}$ from rings to locally ringed spaces, sending a ring to its spectrum, and the contravariant functor $\text{Glob} : \text{RngSp} \rightarrow \text{Rng}$ from locally ringed space to rings sending $X$ to $\mathcal{O}_X (X)$ are mutually right adjoint. That is, there is an isomorphism of hom-sets $\text{Rng}(A, \mathcal{O}_X(X) ) \cong \text{Sch}(X, \text{Spec}(A))$ natural in $A$ and $X$.
One reason this result is nice to me is that is shows how the functor $\text{Spec}$ is unique in a certain respect; once we fix the global sections functor (which does not mention prime ideals or ideals at all), considering $\text{Spec}$ is inevitable. Supposing we wanted to represent a ring as a sheaf of rings over some topological space, this adjoint suggests we have the right way.
What about the contravariant functor $\text{Spv}$, which sends a ring to its space of valuations? I would like some kind of adjoint, or something similar to the above.