The branch of science that classifies species is taxonomy.
In taxonomy, scientists analise species DNA, ancestors, etc. to clasify it.
Hope it helped,
BioTeacher101
5.8m questions
7.6m answers