DNA testing involves taking a sample of an individual’s DNA (usually from a cheek swab or hair sample) and comparing it to a sample of known genetic material (such as a family member’s DNA). By comparing the two samples, scientists can match the DNA sequences and identify the individual.