In arthropods, the malpighian tubules are the excretory organs.
Malpighian tubules excrete body wastes and maintain osmotic balance.They absorb water and other ions for other metabolic activities and excrete out the uric acid.
Hence, option B is correct.