An organic chemical compound (or related set of compounds) is only scientifically called a vitamin when it cannot be synthesized in sufficient quantities by an organism, and must be obtained from their diet.