The metabolism of 2-carbon compounds by microorganisms.