The grouping of languages based on their common ancestry using similarities in grammar, phonology, and lexicon.