What vitamin do you absorb through your skin from the sun?

The skin uses the sun to produce vitamin D. It is not literally absorbed through the skin from the sun, rather vitamin D is produced by the body under the skin in reaction to sunlight.

Vitamin D is necessary to keep bones and teeth healthy as it helps to regulate the amounts of phosphate and calcium in the body.