It is used for treatment and prevention of low calcium levels and resulting bone conditions including osteoporosis (weak bones due to low bone density), rickets (a condition in children involving softening of the bones), and osteomalacia (a softening of bones involving pain).