what is the basis of classifying the different organism into groups