In mathematics, a gerbe (/dʒɜːrb/; French: ) is a construct in homological algebra and topology. Gerbes were introduced by Jean Giraud (Giraud 1971) following ideas of Alexandre Grothendieck as a tool for non-commutative cohomology in degree 2. They can be seen as an analogue of fibre bundles where the fibre is the classifying stack of a group. Gerbes provide a convenient, if highly abstract, language for dealing with many types of deformation questions especially in modern algebraic geometry. In addition, special cases of gerbes have been used more recently in differential topology and differential geometry to give alternative descriptions to certain cohomology classes and additional structures attached to them.
 "Gerbe" is a French (and archaic English) word that literally means wheat sheaf.
 A gerbe on a topological space 
  
    
      
        S
      
    
    {\displaystyle S}
  
: 318  is a stack 
  
    
      
        
          
            X
          
        
      
    
    {\displaystyle {\mathcal {X}}}
  
 of groupoids over 
  
    
      
        S
      
    
    {\displaystyle S}
  
 which is locally non-empty (each point 
  
    
      
        p
        ∈
        S
      
    
    {\displaystyle p\in S}
  
 has an open neighbourhood 
  
    
      
        
          U
          
            p
          
        
      
    
    {\displaystyle U_{p}}
  
 over which the section category 
  
    
      
        
          
            X
          
        
        (
        
          U
          
            p
          
        
        )
      
    
    {\displaystyle {\mathcal {X}}(U_{p})}
  
 of the gerbe is not empty) and transitive (for any two objects 
  
    
      
        a
      
    
    {\displaystyle a}
  
 and 
  
    
      
        b
      
    
    {\displaystyle b}
  
 of 
  
    
      
        
          
            X
          
        
        (
        U
        )
      
    
    {\displaystyle {\mathcal {X}}(U)}
  
 for any open set 
  
    
      
        U
      
    
    {\displaystyle U}
  
, there is an open covering 
  
    
      
        
          
            U
          
        
        =
        {
        
          U
          
            i
          
        
        
          }
          
            i
            ∈
            I
          
        
      
    
    {\displaystyle {\mathcal {U}}=\{U_{i}\}_{i\in I}}
  
 of 
  
    
      
        U
      
    
    {\displaystyle U}
  
 such that the restrictions of 
  
    
      
        a
      
    
    {\displaystyle a}
  
 and 
  
    
      
        b
      
    
    {\displaystyle b}
  
 to each 
  
    
      
        
          U
          
            i
          
        
      
    
    {\displaystyle U_{i}}
  
 are connected by at least one morphism).
 A canonical example is the gerbe 
  
    
      
        B
        H
      
    
    {\displaystyle BH}
  
 of principal bundles with a fixed structure group 
  
    
      
        H
      
    
    {\displaystyle H}
  
: the section category over an open set 
  
    
      
        U
      
    
    {\displaystyle U}
  
 is the category of principal 
  
    
      
        H
      
    
    {\displaystyle H}
  
-bundles on 
  
    
      
        U
      
    
    {\displaystyle U}
  
 with isomorphism as morphisms (thus the category is a groupoid). As principal bundles glue together (satisfy the descent condition), these groupoids form a stack. The trivial bundle 
  
    
      
        X
        ×
        H
        →
        X
      
    
    {\displaystyle X\times H\to X}
  
 shows that the local non-emptiness condition is satisfied, and finally as principal bundles are locally trivial, they become isomorphic when restricted to sufficiently small open sets; thus the transitivity condition is satisfied as well.
 The most general definition of gerbes are defined over a site. Given a site 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
 a 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
-gerbe 
  
    
      
        G
      
    
    {\displaystyle G}
  
: 129  is a category fibered in groupoids 
  
    
      
        G
        →
        
          
            C
          
        
      
    
    {\displaystyle G\to {\mathcal {C}}}
  
 such that
 Note that for a site 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
 with a final object 
  
    
      
        e
      
    
    {\displaystyle e}
  
, a category fibered in groupoids 
  
    
      
        G
        →
        
          
            C
          
        
      
    
    {\displaystyle G\to {\mathcal {C}}}
  
 is a 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
-gerbe admits a local section, meaning satisfies the first axiom, if 
  
    
      
        
          Ob
        
        (
        
          G
          
            e
          
        
        )
        ≠
        ∅
      
    
    {\displaystyle {\text{Ob}}(G_{e})\neq \varnothing }
  
.
 One of the main motivations for considering gerbes on a site is to consider the following naive question: if the Cech cohomology group 
  
    
      
        
          H
          
            1
          
        
        (
        
          
            U
          
        
        ,
        G
        )
      
    
    {\displaystyle H^{1}({\mathcal {U}},G)}
  
 for a suitable covering 
  
    
      
        
          
            U
          
        
        =
        {
        
          U
          
            i
          
        
        
          }
          
            i
            ∈
            I
          
        
      
    
    {\displaystyle {\mathcal {U}}=\{U_{i}\}_{i\in I}}
  
 of a space 
  
    
      
        X
      
    
    {\displaystyle X}
  
 gives the isomorphism classes of principal 
  
    
      
        G
      
    
    {\displaystyle G}
  
-bundles over 
  
    
      
        X
      
    
    {\displaystyle X}
  
, what does the iterated cohomology functor 
  
    
      
        
          H
          
            1
          
        
        (
        −
        ,
        
          H
          
            1
          
        
        (
        −
        ,
        G
        )
        )
      
    
    {\displaystyle H^{1}(-,H^{1}(-,G))}
  
 represent? Meaning, we are gluing together the groups
  
    
      
        
          H
          
            1
          
        
        (
        
          U
          
            i
          
        
        ,
        G
        )
      
    
    {\displaystyle H^{1}(U_{i},G)}
  
 via some one cocycle. Gerbes are a technical response for this question: they give geometric representations of elements in the higher cohomology group 
  
    
      
        
          H
          
            2
          
        
        (
        
          
            U
          
        
        ,
        G
        )
      
    
    {\displaystyle H^{2}({\mathcal {U}},G)}
  
. It is expected this intuition should hold for higher gerbes.
 
One of the main theorems concerning gerbes is their cohomological classification whenever they have automorphism groups given by a fixed sheaf of abelian groups 
  
    
      
        
          
            L
            _
          
        
      
    
    {\displaystyle {\underline {L}}}
  
, called a band. For a gerbe 
  
    
      
        
          
            X
          
        
      
    
    {\displaystyle {\mathcal {X}}}
  
 on a site 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
, an object 
  
    
      
        U
        ∈
        
          Ob
        
        (
        
          
            C
          
        
        )
      
    
    {\displaystyle U\in {\text{Ob}}({\mathcal {C}})}
  
, and an object 
  
    
      
        x
        ∈
        
          Ob
        
        (
        
          
            X
          
        
        (
        U
        )
        )
      
    
    {\displaystyle x\in {\text{Ob}}({\mathcal {X}}(U))}
  
, the automorphism group of a gerbe is defined as the automorphism group 
  
    
      
        L
        =
        
          
            
              Aut
              _
            
          
          
            
              
                X
              
            
            (
            U
            )
          
        
        (
        x
        )
      
    
    {\displaystyle L={\underline {\text{Aut}}}_{{\mathcal {X}}(U)}(x)}
  
. Notice this is well defined whenever the automorphism group is always the same. Given a covering 
  
    
      
        
          
            U
          
        
        =
        {
        
          U
          
            i
          
        
        →
        X
        
          }
          
            i
            ∈
            I
          
        
      
    
    {\displaystyle {\mathcal {U}}=\{U_{i}\to X\}_{i\in I}}
  
, there is an associated class 
  
    
      
        c
        (
        
          
            L
            _
          
        
        )
        ∈
        
          H
          
            3
          
        
        (
        X
        ,
        
          
            L
            _
          
        
        )
      
    
    {\displaystyle c({\underline {L}})\in H^{3}(X,{\underline {L}})}
  
 representing the isomorphism class of the gerbe 
  
    
      
        
          
            X
          
        
      
    
    {\displaystyle {\mathcal {X}}}
  
 banded by 
  
    
      
        L
      
    
    {\displaystyle L}
  
.
For example, in topology, many examples of gerbes can be constructed by considering gerbes banded by the group 
  
    
      
        U
        (
        1
        )
      
    
    {\displaystyle U(1)}
  
. As the classifying space 
  
    
      
        B
        (
        U
        (
        1
        )
        )
        =
        K
        (
        
          Z
        
        ,
        2
        )
      
    
    {\displaystyle B(U(1))=K(\mathbb {Z} ,2)}
  
 is the second Eilenberg-Maclane space for the integers, a bundle gerbe banded by 
  
    
      
        U
        (
        1
        )
      
    
    {\displaystyle U(1)}
  
 on a topological space 
  
    
      
        X
      
    
    {\displaystyle X}
  
 is constructed from a homotopy class of maps in 
  
    
      
        [
        X
        ,
        
          B
          
            2
          
        
        (
        U
        (
        1
        )
        )
        ]
        =
        [
        X
        ,
        K
        (
        
          Z
        
        ,
        3
        )
        ]
      
    
    {\displaystyle [X,B^{2}(U(1))]=[X,K(\mathbb {Z} ,3)]}
  
 which is exactly the third singular homology group 
  
    
      
        
          H
          
            3
          
        
        (
        X
        ,
        
          Z
        
        )
      
    
    {\displaystyle H^{3}(X,\mathbb {Z} )}
  
. It has been found that all gerbes representing torsion cohomology classes in 
  
    
      
        
          H
          
            3
          
        
        (
        X
        ,
        
          Z
        
        )
      
    
    {\displaystyle H^{3}(X,\mathbb {Z} )}
  
 are represented by a bundle of finite dimensional algebras 
  
    
      
        
          End
        
        (
        V
        )
      
    
    {\displaystyle {\text{End}}(V)}
  
 for a fixed complex vector space 
  
    
      
        V
      
    
    {\displaystyle V}
  
. In addition, the non-torsion classes are represented as infinite-dimensional principal bundles 
  
    
      
        P
        U
        (
        
          
            H
          
        
        )
      
    
    {\displaystyle PU({\mathcal {H}})}
  
 of the projective group of unitary operators on a fixed infinite dimensional separable Hilbert space 
  
    
      
        
          
            H
          
        
      
    
    {\displaystyle {\mathcal {H}}}
  
. Note this is well defined because all separable Hilbert spaces are isomorphic to the space of square-summable sequences 
  
    
      
        
          ℓ
          
            2
          
        
      
    
    {\displaystyle \ell ^{2}}
  
.
The homotopy-theoretic interpretation of gerbes comes from looking at the homotopy fiber square 
  
    
      
        
          
            
              
                
                  
                    X
                  
                
              
              
                →
              
              
                ∗
              
            
            
              
                ↓
              
              
              
                ↓
              
            
            
              
                S
              
              
                
                  →
                  
                    f
                  
                
              
              
                
                  B
                  
                    2
                  
                
                U
                (
                1
                )
              
            
          
        
      
    
    {\displaystyle {\begin{matrix}{\mathcal {X}}&\to &*\\\downarrow &&\downarrow \\S&\xrightarrow {f} &B^{2}U(1)\end{matrix}}}
  
 analogous to how a line bundle comes from the homotopy fiber square 
  
    
      
        
          
            
              
                L
              
              
                →
              
              
                ∗
              
            
            
              
                ↓
              
              
              
                ↓
              
            
            
              
                S
              
              
                
                  →
                  
                    f
                  
                
              
              
                B
                U
                (
                1
                )
              
            
          
        
      
    
    {\displaystyle {\begin{matrix}L&\to &*\\\downarrow &&\downarrow \\S&\xrightarrow {f} &BU(1)\end{matrix}}}
  
 where 
  
    
      
        B
        U
        (
        1
        )
        ≃
        K
        (
        
          Z
        
        ,
        2
        )
      
    
    {\displaystyle BU(1)\simeq K(\mathbb {Z} ,2)}
  
, giving 
  
    
      
        
          H
          
            2
          
        
        (
        S
        ,
        
          Z
        
        )
      
    
    {\displaystyle H^{2}(S,\mathbb {Z} )}
  
 as the group of isomorphism classes of line bundles on 
  
    
      
        S
      
    
    {\displaystyle S}
  
.
 
There are natural examples of Gerbes which arise from studying the algebra of compactly supported complex valued functions on a paracompact space 
  
    
      
        X
      
    
    {\displaystyle X}
  
pg 3. Given a cover 
  
    
      
        
          
            U
          
        
        =
        {
        
          U
          
            i
          
        
        }
      
    
    {\displaystyle {\mathcal {U}}=\{U_{i}\}}
  
 of 
  
    
      
        X
      
    
    {\displaystyle X}
  
 there is the Cech groupoid defined as 
  
    
      
        
          
            G
          
        
        =
        
          {
          
            
              ∐
              
                i
                ,
                j
              
            
            
              U
              
                i
                j
              
            
            ⇉
            ∐
            
              U
              
                i
              
            
          
          }
        
      
    
    {\displaystyle {\mathcal {G}}=\left\{\coprod _{i,j}U_{ij}\rightrightarrows \coprod U_{i}\right\}}
  
 with source and target maps given by the inclusions 
  
    
      
        
          
            
              
                s
                :
                
                  U
                  
                    i
                    j
                  
                
                ↪
                
                  U
                  
                    j
                  
                
              
            
            
              
                t
                :
                
                  U
                  
                    i
                    j
                  
                
                ↪
                
                  U
                  
                    i
                  
                
              
            
          
        
      
    
    {\displaystyle {\begin{aligned}s:U_{ij}\hookrightarrow U_{j}\\t:U_{ij}\hookrightarrow U_{i}\end{aligned}}}
  
 and the space of composable arrows is just 
  
    
      
        
          ∐
          
            i
            ,
            j
            ,
            k
          
        
        
          U
          
            i
            j
            k
          
        
      
    
    {\displaystyle \coprod _{i,j,k}U_{ijk}}
  
 Then a degree 2 cohomology class 
  
    
      
        σ
        ∈
        
          H
          
            2
          
        
        (
        X
        ;
        U
        (
        1
        )
        )
      
    
    {\displaystyle \sigma \in H^{2}(X;U(1))}
  
 is just a map 
  
    
      
        σ
        :
        ∐
        
          U
          
            i
            j
            k
          
        
        →
        U
        (
        1
        )
      
    
    {\displaystyle \sigma :\coprod U_{ijk}\to U(1)}
  
 We can then form a non-commutative C*-algebra 
  
    
      
        
          C
          
            c
          
        
        (
        
          
            G
          
        
        (
        σ
        )
        )
      
    
    {\displaystyle C_{c}({\mathcal {G}}(\sigma ))}
  
 which is associated to the set of compact supported complex valued functions of the space 
  
    
      
        
          
            
              G
            
          
          
            1
          
        
        =
        
          ∐
          
            i
            ,
            j
          
        
        
          U
          
            i
            j
          
        
      
    
    {\displaystyle {\mathcal {G}}_{1}=\coprod _{i,j}U_{ij}}
  
 It has a non-commutative product given by 
  
    
      
        a
        ∗
        b
        (
        x
        ,
        i
        ,
        k
        )
        :=
        
          ∑
          
            j
          
        
        a
        (
        x
        ,
        i
        ,
        j
        )
        b
        (
        x
        ,
        j
        ,
        k
        )
        σ
        (
        x
        ,
        i
        ,
        j
        ,
        k
        )
      
    
    {\displaystyle a*b(x,i,k):=\sum _{j}a(x,i,j)b(x,j,k)\sigma (x,i,j,k)}
  
 where the cohomology class 
  
    
      
        σ
      
    
    {\displaystyle \sigma }
  
 twists the multiplication of the standard 
  
    
      
        
          C
          
            ∗
          
        
      
    
    {\displaystyle C^{*}}
  
-algebra product.
 Let 
  
    
      
        M
      
    
    {\displaystyle M}
  
 be a variety over an algebraically closed field 
  
    
      
        k
      
    
    {\displaystyle k}
  
, 
  
    
      
        G
      
    
    {\displaystyle G}
  
 an algebraic group, for example 
  
    
      
        
          
            G
          
          
            m
          
        
      
    
    {\displaystyle \mathbb {G} _{m}}
  
. Recall that a G-torsor over 
  
    
      
        M
      
    
    {\displaystyle M}
  
 is an algebraic space 
  
    
      
        P
      
    
    {\displaystyle P}
  
 with an action of 
  
    
      
        G
      
    
    {\displaystyle G}
  
 and a map 
  
    
      
        π
        :
        P
        →
        M
      
    
    {\displaystyle \pi :P\to M}
  
, such that locally on 
  
    
      
        M
      
    
    {\displaystyle M}
  
 (in étale topology or fppf topology) 
  
    
      
        π
      
    
    {\displaystyle \pi }
  
 is a direct product 
  
    
      
        π
        
          
            |
          
          
            U
          
        
        :
        G
        ×
        U
        →
        U
      
    
    {\displaystyle \pi |_{U}:G\times U\to U}
  
. A G-gerbe over M may be defined in a similar way. It is an Artin stack 
  
    
      
        
          
            M
          
        
      
    
    {\displaystyle {\mathcal {M}}}
  
 with a map 
  
    
      
        π
        :
        
          
            M
          
        
        →
        M
      
    
    {\displaystyle \pi \colon {\mathcal {M}}\to M}
  
, such that locally on M (in étale or fppf topology) 
  
    
      
        π
      
    
    {\displaystyle \pi }
  
 is a direct product 
  
    
      
        π
        
          
            |
          
          
            U
          
        
        :
        
          B
        
        G
        ×
        U
        →
        U
      
    
    {\displaystyle \pi |_{U}\colon \mathrm {B} G\times U\to U}
  
. Here 
  
    
      
        B
        G
      
    
    {\displaystyle BG}
  
 denotes the classifying stack of 
  
    
      
        G
      
    
    {\displaystyle G}
  
, i.e. a quotient 
  
    
      
        [
        ∗
        
          /
        
        G
        ]
      
    
    {\displaystyle [*/G]}
  
 of a point by a trivial 
  
    
      
        G
      
    
    {\displaystyle G}
  
-action. There is no need to impose the compatibility with the group structure in that case since it is covered by the definition of a stack. The underlying topological spaces of 
  
    
      
        
          
            M
          
        
      
    
    {\displaystyle {\mathcal {M}}}
  
 and 
  
    
      
        M
      
    
    {\displaystyle M}
  
 are the same, but in 
  
    
      
        
          
            M
          
        
      
    
    {\displaystyle {\mathcal {M}}}
  
 each point is equipped with a stabilizer group isomorphic to 
  
    
      
        G
      
    
    {\displaystyle G}
  
.
 
Every two-term complex of coherent sheaves 
  
    
      
        
          
            
              E
            
          
          
            ∙
          
        
        =
        [
        
          
            
              E
            
          
          
            −
            1
          
        
        
          →
          
            d
          
        
        
          
            
              E
            
          
          
            0
          
        
        ]
      
    
    {\displaystyle {\mathcal {E}}^{\bullet }=[{\mathcal {E}}^{-1}\xrightarrow {d} {\mathcal {E}}^{0}]}
  
 on a scheme 
  
    
      
        X
        ∈
        
          Sch
        
      
    
    {\displaystyle X\in {\text{Sch}}}
  
 has a canonical sheaf of groupoids associated to it, where on an open subset 
  
    
      
        U
        ⊆
        X
      
    
    {\displaystyle U\subseteq X}
  
 there is a two-term complex of 
  
    
      
        X
        (
        U
        )
      
    
    {\displaystyle X(U)}
  
-modules 
  
    
      
        
          
            
              E
            
          
          
            −
            1
          
        
        (
        U
        )
        
          →
          
            d
          
        
        
          
            
              E
            
          
          
            0
          
        
        (
        U
        )
      
    
    {\displaystyle {\mathcal {E}}^{-1}(U)\xrightarrow {d} {\mathcal {E}}^{0}(U)}
  
 giving a groupoid. It has objects given by elements 
  
    
      
        x
        ∈
        
          
            
              E
            
          
          
            0
          
        
        (
        U
        )
      
    
    {\displaystyle x\in {\mathcal {E}}^{0}(U)}
  
 and a morphism 
  
    
      
        x
        →
        
          x
          ′
        
      
    
    {\displaystyle x\to x'}
  
 is given by an element 
  
    
      
        y
        ∈
        
          
            
              E
            
          
          
            −
            1
          
        
        (
        U
        )
      
    
    {\displaystyle y\in {\mathcal {E}}^{-1}(U)}
  
 such that 
  
    
      
        d
        y
        +
        x
        =
        
          x
          ′
        
      
    
    {\displaystyle dy+x=x'}
  
 In order for this stack to be a gerbe, the cohomology sheaf 
  
    
      
        
          
            
              H
            
          
          
            0
          
        
        (
        
          
            E
          
        
        )
      
    
    {\displaystyle {\mathcal {H}}^{0}({\mathcal {E}})}
  
 must always have a section. This hypothesis implies the category constructed above always has objects. Note this can be applied to the situation of comodules over Hopf-algebroids to construct algebraic models of gerbes over affine or projective stacks (projectivity if a graded Hopf-algebroid is used). In addition, two-term spectra from the stabilization of the derived category of comodules of Hopf-algebroids 
  
    
      
        (
        A
        ,
        Γ
        )
      
    
    {\displaystyle (A,\Gamma )}
  
 with 
  
    
      
        Γ
      
    
    {\displaystyle \Gamma }
  
 flat over 
  
    
      
        A
      
    
    {\displaystyle A}
  
 give additional models of gerbes which are non-strict.
 Consider a smooth projective curve 
  
    
      
        C
      
    
    {\displaystyle C}
  
 over 
  
    
      
        k
      
    
    {\displaystyle k}
  
 of genus 
  
    
      
        g
        >
        1
      
    
    {\displaystyle g>1}
  
. Let 
  
    
      
        
          
            
              M
            
          
          
            r
            ,
            d
          
          
            s
          
        
      
    
    {\displaystyle {\mathcal {M}}_{r,d}^{s}}
  
 be the moduli stack of stable vector bundles on 
  
    
      
        C
      
    
    {\displaystyle C}
  
 of rank 
  
    
      
        r
      
    
    {\displaystyle r}
  
 and degree 
  
    
      
        d
      
    
    {\displaystyle d}
  
. It has a coarse moduli space 
  
    
      
        
          M
          
            r
            ,
            d
          
          
            s
          
        
      
    
    {\displaystyle M_{r,d}^{s}}
  
, which is a quasiprojective variety. These two moduli problems parametrize the same objects, but the stacky version remembers automorphisms of vector bundles. For any stable vector bundle 
  
    
      
        E
      
    
    {\displaystyle E}
  
 the automorphism group 
  
    
      
        A
        u
        t
        (
        E
        )
      
    
    {\displaystyle Aut(E)}
  
 consists only of scalar multiplications, so each point in a moduli stack has a stabilizer isomorphic to 
  
    
      
        
          
            G
          
          
            m
          
        
      
    
    {\displaystyle \mathbb {G} _{m}}
  
. It turns out that the map 
  
    
      
        
          
            
              M
            
          
          
            r
            ,
            d
          
          
            s
          
        
        →
        
          M
          
            r
            ,
            d
          
          
            s
          
        
      
    
    {\displaystyle {\mathcal {M}}_{r,d}^{s}\to M_{r,d}^{s}}
  
 is indeed a 
  
    
      
        
          
            G
          
          
            m
          
        
      
    
    {\displaystyle \mathbb {G} _{m}}
  
-gerbe in the sense above. It is a trivial gerbe if and only if 
  
    
      
        r
      
    
    {\displaystyle r}
  
 and 
  
    
      
        d
      
    
    {\displaystyle d}
  
 are coprime.
 
Another class of gerbes can be found using the construction of root stacks. Informally, the 
  
    
      
        r
      
    
    {\displaystyle r}
  
-th root stack of a line bundle 
  
    
      
        L
        →
        S
      
    
    {\displaystyle L\to S}
  
 over a scheme is a space representing the 
  
    
      
        r
      
    
    {\displaystyle r}
  
-th root of 
  
    
      
        L
      
    
    {\displaystyle L}
  
 and is denoted 
  
    
      
        
          
            
              L
              
                /
              
              S
            
            
              r
            
          
        
        .
        
      
    
    {\displaystyle {\sqrt[{r}]{L/S}}.\,}
  
pg 52  The 
  
    
      
        r
      
    
    {\displaystyle r}
  
-th root stack of 
  
    
      
        L
      
    
    {\displaystyle L}
  
 has the property 
  
    
      
        
          ⨂
          
            r
          
        
        
          
            
              L
              
                /
              
              S
            
            
              r
            
          
        
        ≅
        L
      
    
    {\displaystyle \bigotimes ^{r}{\sqrt[{r}]{L/S}}\cong L}
  
 as gerbes. It is constructed as the stack 
  
    
      
        
          
            
              L
              
                /
              
              S
            
            
              r
            
          
        
        :
        (
        Sch
        ⁡
        
          /
        
        S
        
          )
          
            o
            p
          
        
        →
        Grpd
      
    
    {\displaystyle {\sqrt[{r}]{L/S}}:(\operatorname {Sch} /S)^{op}\to \operatorname {Grpd} }
  
 sending an 
  
    
      
        S
      
    
    {\displaystyle S}
  
-scheme 
  
    
      
        T
        →
        S
      
    
    {\displaystyle T\to S}
  
 to the category whose objects are line bundles of the form 
  
    
      
        
          {
          
            (
            M
            →
            T
            ,
            
              α
              
                M
              
            
            )
            :
            
              α
              
                M
              
            
            :
            
              M
              
                ⊗
                r
              
            
            
              →
              
                ∼
              
            
            L
            
              ×
              
                S
              
            
            T
          
          }
        
      
    
    {\displaystyle \left\{(M\to T,\alpha _{M}):\alpha _{M}:M^{\otimes r}\xrightarrow {\sim } L\times _{S}T\right\}}
  
 and morphisms are commutative diagrams compatible with the isomorphisms 
  
    
      
        
          α
          
            M
          
        
      
    
    {\displaystyle \alpha _{M}}
  
. This gerbe is banded by the algebraic group of roots of unity 
  
    
      
        
          μ
          
            r
          
        
      
    
    {\displaystyle \mu _{r}}
  
, where on a cover 
  
    
      
        T
        →
        S
      
    
    {\displaystyle T\to S}
  
 it acts on a point 
  
    
      
        (
        M
        →
        T
        ,
        
          α
          
            M
          
        
        )
      
    
    {\displaystyle (M\to T,\alpha _{M})}
  
 by cyclically permuting the factors of 
  
    
      
        M
      
    
    {\displaystyle M}
  
 in 
  
    
      
        
          M
          
            ⊗
            r
          
        
      
    
    {\displaystyle M^{\otimes r}}
  
. Geometrically, these stacks are formed as the fiber product of stacks 
  
    
      
        
          
            
              
                X
                
                  ×
                  
                    B
                    
                      
                        G
                      
                      
                        m
                      
                    
                  
                
                B
                
                  
                    G
                  
                  
                    m
                  
                
              
              
                →
              
              
                B
                
                  
                    G
                  
                  
                    m
                  
                
              
            
            
              
                ↓
              
              
              
                ↓
              
            
            
              
                X
              
              
                →
              
              
                B
                
                  
                    G
                  
                  
                    m
                  
                
              
            
          
        
      
    
    {\displaystyle {\begin{matrix}X\times _{B\mathbb {G} _{m}}B\mathbb {G} _{m}&\to &B\mathbb {G} _{m}\\\downarrow &&\downarrow \\X&\to &B\mathbb {G} _{m}\end{matrix}}}
  
 where the vertical map of 
  
    
      
        B
        
          
            G
          
          
            m
          
        
        →
        B
        
          
            G
          
          
            m
          
        
      
    
    {\displaystyle B\mathbb {G} _{m}\to B\mathbb {G} _{m}}
  
 comes from the Kummer sequence 
  
    
      
        1
        
          →
          
        
        
          μ
          
            r
          
        
        
          →
          
        
        
          
            G
          
          
            m
          
        
        
          →
          
            (
            ⋅
            
              )
              
                r
              
            
          
        
        
          
            G
          
          
            m
          
        
        
          →
          
        
        1
      
    
    {\displaystyle 1\xrightarrow {} \mu _{r}\xrightarrow {} \mathbb {G} _{m}\xrightarrow {(\cdot )^{r}} \mathbb {G} _{m}\xrightarrow {} 1}
  
 This is because 
  
    
      
        B
        
          
            G
          
          
            m
          
        
      
    
    {\displaystyle B\mathbb {G} _{m}}
  
 is the moduli space of line bundles, so the line bundle 
  
    
      
        L
        →
        S
      
    
    {\displaystyle L\to S}
  
 corresponds to an object of the category 
  
    
      
        B
        
          
            G
          
          
            m
          
        
        (
        S
        )
      
    
    {\displaystyle B\mathbb {G} _{m}(S)}
  
 (considered as a point of the moduli space).
 
There is another related construction of root stacks with sections. Given the data above, let 
  
    
      
        s
        :
        S
        →
        L
      
    
    {\displaystyle s:S\to L}
  
 be a section. Then the 
  
    
      
        r
      
    
    {\displaystyle r}
  
-th root stack of the pair 
  
    
      
        (
        L
        →
        S
        ,
        s
        )
      
    
    {\displaystyle (L\to S,s)}
  
 is defined as the lax 2-functor 
  
    
      
        
          
            
              (
              L
              ,
              s
              )
              
                /
              
              S
            
            
              r
            
          
        
        :
        (
        Sch
        ⁡
        
          /
        
        S
        
          )
          
            o
            p
          
        
        →
        Grpd
      
    
    {\displaystyle {\sqrt[{r}]{(L,s)/S}}:(\operatorname {Sch} /S)^{op}\to \operatorname {Grpd} }
  
 sending an 
  
    
      
        S
      
    
    {\displaystyle S}
  
-scheme 
  
    
      
        T
        →
        S
      
    
    {\displaystyle T\to S}
  
 to the category whose objects line bundles of the form 
  
    
      
        
          {
          
            (
            M
            →
            T
            ,
            
              α
              
                M
              
            
            ,
            t
            )
            :
            
              
                
                  
                  
                    
                      α
                      
                        M
                      
                    
                    :
                    
                      M
                      
                        ⊗
                        r
                      
                    
                    
                      →
                      
                        ∼
                      
                    
                    L
                    
                      ×
                      
                        S
                      
                    
                    T
                  
                
                
                  
                  
                    t
                    ∈
                    Γ
                    (
                    T
                    ,
                    M
                    )
                  
                
                
                  
                  
                    
                      α
                      
                        M
                      
                    
                    (
                    
                      t
                      
                        ⊗
                        r
                      
                    
                    )
                    =
                    s
                  
                
              
            
          
          }
        
      
    
    {\displaystyle \left\{(M\to T,\alpha _{M},t):{\begin{aligned}&\alpha _{M}:M^{\otimes r}\xrightarrow {\sim } L\times _{S}T\\&t\in \Gamma (T,M)\\&\alpha _{M}(t^{\otimes r})=s\end{aligned}}\right\}}
  
 and morphisms are given similarly. These stacks can be constructed very explicitly, and are well understood for affine schemes. In fact, these form the affine models for root stacks with sections.: 4  Given an affine scheme 
  
    
      
        S
        =
        
          Spec
        
        (
        A
        )
      
    
    {\displaystyle S={\text{Spec}}(A)}
  
, all line bundles are trivial, hence 
  
    
      
        L
        ≅
        
          
            
              O
            
          
          
            S
          
        
      
    
    {\displaystyle L\cong {\mathcal {O}}_{S}}
  
 and any section 
  
    
      
        s
      
    
    {\displaystyle s}
  
 is equivalent to taking an element 
  
    
      
        s
        ∈
        A
      
    
    {\displaystyle s\in A}
  
. Then, the stack is given by the stack quotient 
  
    
      
        
          
            
              (
              L
              ,
              s
              )
              
                /
              
              S
            
            
              r
            
          
        
        =
        [
        
          Spec
        
        (
        B
        )
        
          /
        
        
          μ
          
            r
          
        
        ]
      
    
    {\displaystyle {\sqrt[{r}]{(L,s)/S}}=[{\text{Spec}}(B)/\mu _{r}]}
  
: 9  with 
  
    
      
        B
        =
        
          
            
              A
              [
              x
              ]
            
            
              
                x
                
                  r
                
              
              −
              s
            
          
        
      
    
    {\displaystyle B={\frac {A[x]}{x^{r}-s}}}
  
 If 
  
    
      
        s
        =
        0
      
    
    {\displaystyle s=0}
  
 then this gives an infinitesimal extension of 
  
    
      
        [
        
          Spec
        
        (
        A
        )
        
          /
        
        
          μ
          
            r
          
        
        ]
      
    
    {\displaystyle [{\text{Spec}}(A)/\mu _{r}]}
  
.
 These and more general kinds of gerbes arise in several contexts as both geometric spaces and as formal bookkeeping tools:
 Gerbes first appeared in the context of algebraic geometry. They were subsequently developed in a more traditional geometric framework by Brylinski (Brylinski 1993).  One can think of gerbes as being a natural step in a hierarchy of mathematical objects providing geometric realizations of integral cohomology classes.
 A more specialised notion of gerbe was introduced by Murray and called bundle gerbes. Essentially they are a smooth version of abelian gerbes belonging more to the hierarchy starting with principal bundles than sheaves. Bundle gerbes have been used in gauge theory and also string theory. Current work by others is developing a theory of non-abelian bundle gerbes.