Groups from the point of view of category theory
A group
Now, consider any set
A functor from the former to the latter is nothing else that a group action of
Other example of category of the same flavour is a monoid. It is all the same than a group, but you don't need to have inverses. It is the simplest category at all.
If we shrink properties we arrive to a semigroup: neither inverses nor identity. But then we don't have a category.
On the other hand, a groupoid is a category like a group category, but with several objects, not only one. Es como si pegásemos varios grupos independientes...