Example 4.2.6. A group $G$ gives rise to a groupoid with a single object $x$ and morphisms $\mathop{Mor}\nolimits (x, x) = G$, with the composition rule given by the group law in $G$. Every groupoid with a single object is of this form.

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).