The excretory wastes are mostly toxic for the body. For example, Protein metabolism leads to the production of Nitrogenous wastes like Urea in mammals, Uric acid in birds, etc.
The waste material is processed in the Liver during the Urea cycle and is eliminated from the body.