The liver cells react carbon dioxide with the ammonia in a process called the ornithine cycle to form the less toxic compound, urea. The urea and water are released into the bloodstream and transported to the kidneys. The kidneys filter the blood, and the water-soluble urea is excreted in the urine.