Synthesis and activation of vitamin D