Let be categories, and let and be functors.

The comma category, written , is the category:

  • with objects
  • with morphisms from to given by pairs such that .
F(a1)G(b1)F(a2)G(b2)F(®)f1G(¯)f2