Any child who does not get enough vitamin D or calcium either through diet or sunlight can develop rickets. But this condition occurs commonly in children having dark skin, as this means that they need more sunlight to get enough vitamin D or children born prematurely or taking medication that interferes with vitamin D.