A category \(\mathscr{C}\) is a collection of objects, denoted \(\text{obj}{\mathscr{C}}\) together with a collection of classes of morphisms between pairs of objects, each of which is denoted \(\text{Mor}{(a,b)}\) for any pair \(a,b \in \text{obj}{\mathscr{C}}\), such that the following data is given:
(1). For any objects \(a,b,c \in \text{obj}{\mathscr{C}}\), there exist composition maps \[ \circ:\text{Mor}{(b,c)} \times \text{Mor}{(a,b)} \rightarrow \text{Mor}{(a,c)} \] associating to each pair of morphisms \((g,f)\) a morphism \(g \circ f\) called the composition of the morphism \(g\) with the morphism \(f\).