In category theory, a groupoid object in a category C admitting finite fiber products is a pair of objects together with five morphisms satisfying the following groupoid axioms
Example: A groupoid object in the category of sets is precisely a groupoid in the usual sense: a category in which every morphism is an isomorphism. Indeed, given such a category C, take U to be the set of all objects in C, R the set of all arrows in C, the five morphisms given by , , and .