The classification and naming of organisms, including fossils, based on their physical and genetic characteristics.