Arthropoda
There are two different excretory systems used by members of the Arthropoda phylum. Aquatic arthropods eliminate ammonia through permeable membranes, particularly gills. Terrestrial arthropods use the Malpighian tubule system to filter uric acid, which can be excreted as dry material, and other nitrogenous waste out of the blood and in the hemocoel. These waste products are deposited into the hindgut and then expelled as feces. A majority of aquatic arthropods and a few terrestrial also contain nephridia to extract other wastes for excretion as urine.