Excess nitrogen from amino acid catabolism is converted into urea in the liver through the urea cycle. Urea is then transported to the kidneys, where it is excreted in the urine. This process is vital for preventing the accumulation of toxic ammonia in the body, which can have detrimental effects on tissues and organs.