An example will help for this. A brother and a sister are closely related. They have common ancestors in the first generation before them, namely their parents. A girl and her first cousin are also related, but less than the girl and her brother. This is because cousins have common ancestors, their grandparents, in the second generation before them, not in the first one. We can now appreciate that classification of species is in fact a reflection of their evolutionary relationship.