A category consists of a collection of objects with morphisms between them. A morphism goes from one object, say , to another, say , and is drawn as an arrow from to . Note that may equal (in which case is referred to as an ). The object is called the source or of and is called the target or of , though note that itself need not be a and and need not be sets. This is written as .
These morphisms must satisfy three conditions: