In the book Loop spaces, Characteristic classes and geometric quantization by Brylinski I see following result when trying to motivate geometric description of $H^3(M,\mathbb{Z})$.
$H^2(M,\mathbb{Z})$ is the group of isomorphism classes of line bundles over $M$.
I guess they mean there is a natural isomorphism.
Can some one give a rough idea of what obvious second cohomology class we can think of given a line bundle over $M$ and what line bundle can we think of given an arbitrary second cohomology class.
Intuitive comments are also welcome.
I am familiar (not the proof details) with following result:
If $G$ is a group and $M$ is a $G$-module, then the $H^2(G, A)$ is in one-one correspondence with the set of equivalence classes of extensions $E$ of $M$ by $G$, in which the action of $G$ on $M$ induced by conjugation in $E$ is the same as the action defined by the $G$- module $M$.
I am expecting some intuitive explanation that looks similar to this.