ammonium ion, which is the end product of amino acid degradation, is toxic if allowed to accumulate. the urea cycle is a pathway that detoxifies the ammonium ions by converting it to urea - which is then transported to the kidneys to form urine... the function is to remove nitrogen waste from the body and avoid toxicity