A deficiency of vitamin D causes a softening of the bones called rickets.