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