Riboflavin: MedlinePlus Medical Encyclopedia Function. Riboflavin (vitamin B2) works with the other B vitamins. It is important for body growth and red blood cell production and helps in releasing energy from ...