Parents can name someone to act as a legal guardian as part of a will. If this did not occur and both parents would pass away, a court-ordered guardian will be appointed for the surviving children. This guardian is generally named in what would be the best interest of the child, however, without making their interest/intentions known, this guardian may not be whom the parents would have chosen.