Genetic testing allows the genetic diagnosis of vulnerabilities to inherited diseases, and can also be used to determine a person's paternity or ancestry.