Comparative anatomy is the scientific comparison of animal bodies. The purpose of comparative anatomy is to see their working structure, and to decide upon the phylogenetic relationships between different groups of animals. The separation of animals into phyla is done mainly by comparative anatomy: see List of animal phyla.