In cockroach, Malpighian tubules extract metabolic wastes like potassium and sodium urate, water and carbon dioxide from the blood. In the Malpighian tubules bicarbonates of potassium and sodium, water and uric acid are formed. A large amount of water and bicarbonates of potassium and sodium are reabsorbed by the cells of Malpighian tubules and then transferred to the blood (haemolymph). Uric acid is carried to the alimentary canal of the insect and is finally passed out through anus.