What is the function of a guardian ad litem? A guardian ad litem (or GAL) is a person appointed by the court to function as an independent investigator and make recommendations regarding the best custody situation for the kid. The child, parents, family members, friends, teachers, counselors, and social workers will all be interviewed by the guardian ad litem.