Though very similar, each person has small variations in their DNA.
These variations are thought to be responsible for individual differences, including the predisposition to certain diseases.
By having your family’s DNA to compare, doctors and scientists are able to map the shared mutations that are linked to disease in a family. The more generations that can be compared the more accurate the predictions become.