Why The Main Nitrogenous Excretory Product Of Humans Is Urea Rather Than Ammonia?

Why The Main Nitrogenous Excretory Product Of Humans Is Urea Rather Than Ammonia? Urea is less toxic and requires less water to remove from organism (so it’s better in terrestrial environment) but it requires more energy to produce. And uric acid is most costly in terms of energy but requires the least amount of water