It compares different languages with a shared ancestry and considers the similarities and differences between them.