We might have seen newborn infants are exposed to morning sunlight. Also prayer to God Sun which Hindus do as their ritual every morning after a bath. There are scientific reasons behind these deeds. Sunlight is utilized as treatment for physiologic jaundice. As the devotees turn 3 times while praying to Sun, the entire body gets sunlight. For many skin diseases, sunlight is advised as a medicine in Ayurveda.
Vitamin D which is essential for the skin, bones and hair growth is derived from the sun.