In situations where both biological parents are absent, such as when they are deceased, grandparents or other third parties, including friends or neighbors, may seek custody of the child.