Although this is a notable finding it's important to remember that it doesn't lead to the conclusion that supplementing vitamin D will be very beneficial here. When vitamin D is produced in the body naturally via exposure to sunlight there's a huge amount of other things that occur as well, and we don't have a ton of good science to back up if curing a vitamin D deficiency via supplementation of pure vitamin D is rea…
So yes... sunlight does probably way more benefits for us but supplementation if you are deficient is still showing significant effects.