Rickets is a condition that causes children to have soft, weak bones. It usually occurs when children do not get enough vitamin D, which helps growing bones absorb important nutrients. Vitamin D comes from sunlight and food. Skin produces vitamin D in response to the sun's rays. Some foods also contain vitamin D, including fortified dairy products and cereals, and some kinds of fish.