Osteomalacia is softening of the bones. It occurs because of a lack of vitamin D or a problem with the body's ability to break down and use vitamin D, which helps the body to absorb calcium. The body needs calcium to maintain the strength and hardness of bones.