A morphism of schemes is a closed immersion if it induces a homeomorphism of underlying topological spaces (in the Zariski topology) and the comorphism is an epimorphism of sheaves on .
More generally, let us consider some category of spaces, i.e. sheaves of sets on equipped with a subcanonical Grothendieck topology. Then a morphism of spaces is said to be closed immersion if it is representable by a strict monomorphism.