Using DNA to Trace Ancestry.Chromosomes are Inherited From Your Parents. One chromosome from each of your 23 pairs came from each of your parents. The two chromosomes of a pair (except for the sex chromosomes) contain the same genes, but the genes have small differences.