Rickets softens and weakens bones in children. It usually happens when they do not get enough vitamin D. Vitamin D comes from sunlight and food. It helps growing bones absorb important nutrients.