If $G$ is a connected Lie group with Lie algebra $\mathcal{G}$, then de Rham cohomology of left invariant différential forms $H_L^*(G)$ is isomorphic to the Chevalley–Eilenberg cohomology $H^*(\mathcal{G})$ for the trivial action of $\mathcal{G}$ on $\mathbb{R}$.
This is obvious, if we associate to each left invariant differential form on $G$ its value at the neutral element $e$ of $G$, after the identification of $\mathcal{G}^*$ with $T_e^*G$.
A less obvious, is the fact that for a compact Lie group $G$ its de Rham cohomology $H^*(G)$ is naturally isomorphic to $H_L^*(G)$ (the subcomplex of left invariant differential forms).
May you point me to a nice reference to this subjet: for the de Rham cohomology of a compact Lie group?