Cockroaches are uricotelic animals, meaning they excrete nitrogenous waste primarily as uric acid. This is an adaptation for water conservation since uric acid is relatively non-toxic and can be excreted as a semi-solid, requiring minimal water. Ammonia is highly toxic and needs dilution, while urea requires some water for excretion.