Synthesis of vitamin D in nature is dependent on the presence of UV radiation and subsequent activation in the liver and in the kidneys. Many animals synthesize vitamin D from 7-dehydrocholesterol, and many fungi synthesize vitamin D from ergosterol.