Internal category
In mathematics, more specifically in category theory, internal categories are a generalization of the notion of a small category, and are defined with respect to a fixed ambient category. If the ambient category is taken to be the category of sets then one recovers the theory of small categories.