The correct answer is - B. origin, sound, and words.
There are multiple language families in the world, some bigger, some smaller, some that managed to continuously spread, while some declined over time. Whichever the case, the grouping of the languages in a family is through three basic things, the origin of the language, the sounds used in the language, and the words used in the language.
All those three things can be traced back, compared, and associated, so it is relatively easy for most of the languages to group them.
For example, the Indo-European languages, all emerged in what is now the western part of Central Asia. Through migration, they spread to India, Iran, and almost all of Europe, with the different dialects being separated, new languages emerged, but kept the same basics, as they had the same origin.