Lie Groups, Lie Algebras, Cohomology and some Applications in Physics