In evolutionary biology, homology refers to any similarity between characteristics that is due to their shared ancestry. There are examples in different branches of biology. Anatomical structures that perform the same function in different biological species and evolved from the same structure in some ancestor species are homologous. In genetics, homology refers to a similarity of DNA sequences.