Invertebrate organ which occurs in pairs and performs a function similar to the vertebrate kidney (removing metabolic wastes from an animal's body)