Not having enough vitamin D can cause many health problems such as rickets in children and osteomalacia in adults. This is because vitamin D is needed by many different parts of the body.