Known as the sunshine vitamin, vitamin D is produced by the body in response to skin being exposed to sunlight. ... Traditionally, vitamin D deficiency has been associated with rickets, a disease in which the bone tissue doesn't properly mineralize, leading to soft bones and skeletal deformities.