The composition of the matrix based on its structures and contents produce an environment that allows the anabolic and catabolic pathways to proceed favorably for. The electron transport chain and enzymes in the matrix play a large role in the citric acid cycle and oxidative phosphorylation. The citric acid cycle produces NADH and FADH2 through oxidation that will be reduced in oxidative phosphorylation to produce ATP.[2][3]