The IDH2 gene (isocitrate dehydrogenase 2) encodes an enzyme that plays a crucial role in the citric acid cycle, which is essential for energy production in the mitochondria. This enzyme catalyzes the oxidative decarboxylation of isocitrate to alpha-ketoglutarate, a critical step in cellular metabolism.