The liver is a complex organ and performs over 500 different functions. It controls amino acid concentration and detoxification in the body. Urea is produced in the liver and is a metabolite of amino acids. Ammonium ions are formed in the breakdown of amino acids and some amount of it is used in the biosynthesis of nitrogen compounds. Excess ammonium ions are always converted into urea.