Inactive Tutor answered 08/29/26
There are conserved genes across the tree of life, and the closer one thing is related to another thing, the more similar these conserved genes will be. By tracking these differences in conserved genetic sequences (such as mitochondrial DNA in animals, or 16S rRNA in prokaryotes) we can build a phylogenetic tree based on how similar or dissimilar these conserved sequences are. This is one way that we can distinguish neanderthal-derived DNA sequences from sapiens-derived DNA sequences. We can compare a large dataset of DNA and come to a consensus of what the "standard" DNA sequence is for Homo sapiens, but there are a subset of the dataset which have small substitutions, creating a sub-population resulting from interbreeding of closely related species. Another, perhaps more obvious, indicator of neanderthal-sapiens interbreeding is the presence of genes in so-called "genetic deserts." These are locations on the sapiens genome which are normally empty of any coding DNA. But in neanderthal DNA, these locations contain gene coding sequences. The presence of these genetic islands is a strong indication of interbreeding.