Ergosterol is a compound present in ergot and many other fungi. A steroid alcohol, it is converted to vitamin D2 when irradiated with ultraviolet light.
synthesis of vitamin D (specifically cholecalciferol) in the skin is the major natural source of the vitamin.
Vitamin D is made in the skin from cholesterol dependent on sun exposure (specifically UVB radiation).
Answer : (d)