The cohomology Hn(G,A) of G with coefficients in a G-module A, together with the corresponding cocycles, have a useful group-theoretic interpretation for n=2.