That’s because Vitamin D is actually a hormone rather than a vitamin. The ultraviolet rays from sunlight trigger its production in our skin.
Few foods naturally contain vitamin D and bananas are not one of them. Vitamin D concentrate is commonly added to milk.