The study of evolutionary relationships among species or populations based on their genetic relatedness.