Definition:Spectrum of Ring Functor

Definition
Let $\mathbf{Ring}$ be the category of commutative rings with unity.

To topological spaces
Let $\mathbf{Top}$ be the category of topological spaces.

The spectrum functor $\operatorname{Spec} : \mathbf{Ring} \to \mathbf{Top}$ is the contravariant functor with: