Given a set , the identity function on is the function that maps any element of to itself:
or equivalently,
The identity functions are the identity morphisms in the category Set of sets.
More generally, in any concrete category, the identity morphism of each object is given by the identity function on its underlying set.