We briefly recall what is kown as to the relations between representation theory of Virasoro and Kac-Moody algebras and the geometry of algebraic objects on suitable moduli spaces. Besides recalling the case of b-c-systems, we work out a geometric set up for the abelian Sugawara construction. A full understanding of the non abelian case requires more work on the side of geometrical representation theory.