Thank you for posting.
Vitamin D is a group of fat-soluble vitamins. Both Vitamin D2 and Vitamin D3 are in the same structural class and are very similar compounds. Vitamin D3 is produced in your skin naturally when it is exposed to sunlight. Vitamin D2 is made by some plants and fungus in response to ultraviolet light.