A zero object, or null object, is an object of a category that is both an initial object and a terminal object. Equivalently, a category has a zero object iff it has an initial object and a terminal object and the unique morphism is an isomorphism.
The category of pointed sets has a zero object, namely any one-element set.
The trivial group is a zero object in the categories of groups and of abelian groups.
However, the zero ring is not a zero object in the category of rings, at least as long as rings are required to have units (and ring homomorphisms to preserve them).
For every category with a terminal object the under category of pointed objects in has a zero object: the morphism .
In any category enriched over pointed sets or abelian groups, any initial or terminal object is automatically a zero object. In this case a zero object can also be characterized by the identity , i.e. the identity morphism of the zero object is equal to the zero morphism from it to itself. This is a special case of an absolute limit?. In particular, any additive category has a zero object.
In a category with a zero object 0, there is always a canonical morphism from any object to any other object called the zero morphism, given by the composite . Thus, such a category becomes enriched over pointed sets, a partial converse to the last example above.