Riboflavin is involved in maintaining normal circulating levels of homocysteine; in riboflavin deficiency, homocysteine levels increase, elevating the risk of cardiovascular diseases. Redox reactions
Redox reactions are processes that involve the transfer of electrons. The flavin coenzymes support the function of roughly 70-80 flavoenzymes in humans (and hundreds more across all organisms, including those encoded by archeal, bacterial and fungal genomes) that are responsible for one- or two-electron redox reactions which capitalize on the ability of flavins to be converted between oxidized, half-reduced and fully reduced forms. FAD is also required for the activity of glutathione reductase, an essential enzyme in formation of the endogenous antioxidant, glutathione. Micronutrient metabolism
Riboflavin, FMN, and FAD are involved in the metabolism of niacin, vitamin B6, and folate. The synthesis of the niacin-containing coenzymes, NAD and NADP, from tryptophan involves the FAD-dependent enzyme, kynurenine 3-monooxygenase. Dietary deficiency of riboflavin can decrease the production of NAD and NADP, thereby promoting niacin deficiency. Conversion of vitamin B6 to its coenzyme, pyridoxal 5-phosphate synthase, involves the enzyme, pyridoxine 5-phosphate oxidase, which requires FMN. An enzyme involved in folate metabolism, 5,10-methylenetetrahydrofolate reductase, requires FAD to form the amino acid, methionine, from homocysteine.Riboflavin deficiency appears to impair the metabolism of the dietary mineral, iron, which is essential to the production of hemoglobin and red blood cells. Alleviating riboflavin deficiency in people who are deficient in both riboflavin and iron improves the effectiveness of iron supplementation for treating iron-deficiency anemia. Synthesis
Biosynthesis
Biosynthesis takes place in bacteria, fungi and plants, but not animals.
The biosynthetic precursors to riboflavin are ribulose 5-phosphate and guanosine triphosphate. The former is converted to L-3,4-dihydroxy-2-butanone-4-phosphate while the latter is transformed in a series of reactions that lead to 5-amino-6-(D-ribitylamino)uracil. These two compounds are then the substrates for the penultimate step in the pathway, catalysed by the enzyme lumazine synthase in reaction EC 2.5.1.78. In the final step of the biosynthesis, two molecules of 6,7-dimethyl-8-ribityllumazine are combined by the enzyme riboflavin synthase in a dismutation reaction. This generates one molecule of riboflavin and one of 5-amino-6-(D-ribitylamino) uracil. The latter is recycled to the previous reaction in the sequence. Conversions of riboflavin to the cofactors FMN and FAD are carried out by the enzymes riboflavin kinase and FAD synthetase acting sequentially. Industrial synthesis
The industrial-scale production of riboflavin uses various microorganisms, including filamentous fungi such as Ashbya gossypii, Candida famata and Candida flaveri,  as well as the bacteria Corynebacterium ammoniagenes and Bacillus subtilis. B. subtilis that has been genetically modified to both increase the production of riboflavin and to introduce an antibiotic (ampicillin) resistance marker, is employed at a commercial scale to produce riboflavin for feed and food fortification. By 2012, over 4,000 tonnes per annum were produced by such fermentation processes.In the presence of high concentrations of hydrocarbons or aromatic compounds, some bacteria overproduce riboflavin, possibly as a protective mechanism.