Lineage of Types of Names of an Organism
The use and function of scientific nameing does not stop with those of genus and species. There are still different hierarchical designations above them.
Above this is the Family of an organism. This is a wider net that describes many organisms that have similar features.
Above the Family is the Order of the organism which groups even larger groups of organisms together that have similar traits but that have very large differences.
Class is the order above Order and is very generic in terminology and includes animals with only a few similar characteristics. Mammalia is one of these classes and includes all mammals since they perform live births (babies), produce milk and have hair. As you know, whales and apes are both mammals but are very different from each other.
Above Class is Phylum which differentiates organisms into 40 different phyla. These differences between phyla are very distinct. Plants are divided into twelve phyla.
Kingdom is the next ratifying system and consists of six different categories; Animalia, Bacteria, Archaea, Protista, Fungi and Plantaea.
Above this is the Domain. This is a two-part split between eukaryote and prokaryote. These are seperated at the cellular level with eukaryotes having a cell nucleus and prokaryotes lacking a nucleus.
Hopefully, this information will clear up any confusion or misnomers about the scientific classification of living things and the special names that deinfe them.