Nereis and Leech both belong to phylum Annelida. Octopus belongs to phylum Mollusca. Termite belongs to phylum Arthropoda. Termites are commonly known as white ants which belong to the class arachnids. Thus, the correct answer is option B.