In certain situations, grandparents may seek custody or visitation rights, especially if it is in the best interests of the child. Courts will consider the child’s relationship with the grandparents, the parents’ wishes, and other factors when making a decision.