The two forms of vitamin D are different based on their food sources. Vitamin D2 comes from fortified foods and plant sources, while vitamin D3 only comes from animal-sourced foods.