From what I've heard (I could be wrong, I'm not saying this is fact so don't shoot at me;)), if both your parents die or are unable to take care of you for whatever reason, you will be left with the closest relative that can best support you, if there are none, you will most likely be given to a foster home.