Grandparent DNA testing determines biological relationships by analyzing the DNA of grandparents and grandchildren. This test is helpful when a parent is unavailable and can provide evidence for legal or personal matters like inheritance or immigration cases.