I learnt about that too since when I was a kid and I've childishly stayed under the sun in the mornings while I was growing up.
I hardly stay under the morning sun anymore but I do take advantage of it whenever I'm chanced to see the sun.
Vitamin D helps in good growth for children - strengthening their bones and it also helps our skin to look healthier.