A function
The vocabulary of maps
is injective, also called an embedding, if ; surjective if it hits all of ; an isomorphism if it has a two-sided inverse with and . A self-map, one with , is an endomorphism, and an endomorphism that is also an isomorphism is an automorphism.
is the prototype category Sets and functions form the category
: composition is the usual one, identities the identity functions, and the isomorphisms are exactly the bijections. Most structured categories are with extra data on the objects and a compatibility condition on the morphisms; a $\mathbf{Set}$-valued functor is how a category “acts on” plain sets.