I have seen the notion forof a delooping groupoid defined as a 1-groupoid having a single object * and the automorphisms onof * to be the group G, with the composition of 1-morphisms to bebeing the usual group operation. In this sense, a group is a pointed 0-connected groupoid. In higher cases too, an n-group is a pointed connected n-groupoid. But
But I have seen this for a discrete group G. What about a continuous group? Say, we take G to be U(1) and then form BU(1). Is it a 1-groupoid or a 2-groupoid? I have seen claims that BU(1) to be theis a 2-group. I guess it follows from the fact that the homotopy type of U(1) is same asequivalent to B$\mathbb{Z}$,then U making BU(1) is like B$^{2}\mathbb{Z}$.
Could someone briefly explain how to see this as a 2-group? Do we have to always bring this to something relating to discrete groups? Thanks.