The liver synthesizes urea by combining two molecules of ammonia with one molecule of carbon dioxide. This reaction is catalyzed by the enzyme urea cycle enzyme, which is present in the cells of the liver. The resulting product is urea, which is then released into the bloodstream and transported to the kidneys for excretion.