Let Sch be the category of schemes, and Ring be the category of commutative rings, then Spec and the global sections functor $\Gamma$ are adjoint between these two categories. Ie, for any scheme $X$ and ring $A$ there is a natural bijection $$Hom_{Sch}(X,{\rm Spec}\,A) = Hom(A,\Gamma(X))$$ If $A = \Gamma(X)$, then we get $$Hom_{Sch}(X,{\rm Spec}\,\Gamma(X)) = Hom(\Gamma(X),\Gamma(X))$$ Thus, the identity on the right side corresponds to some special morphism $X\rightarrow{\rm Spec}\,\Gamma(X)$.
Now, the definition of this morphism is given in rather grueling detail in http://stacks.math.columbia.edu/tag/01HX
My question is - how should I think about this intuitively? I suppose one obstacle to thinking about this is the lack of examples. The only examples I'm comfortable with are either affine or projective curves, and in either case this morphism is trivial.