Riboflavin is vitamin B2. Vitamins are naturally occurring substances necessary for many processes in the body. Riboflavin is important in the maintenance of many tissues of the body. Riboflavin is used to treat or prevent deficiencies of riboflavin.