The urea cycle (also known as the 'ornithine cycle') is a cycle of biochemical reactions that produces urea ((NH2)2CO) from ammonia (NH3). This cycle occurs in ureotelic organisms. The urea cycle converts highly toxic ammonia to urea for excretion
The entire process converts two amino groups, one from NH4+ and one from Asp, and a carbon atom from HCO3−, to the relatively nontoxic excretion product urea at the cost of four "highenergy" phosphate bonds (3 ATP hydrolyzed to 2 ADP and one AMP). The conversion from ammonia to urea happens in five main steps. The first is needed for ammonia to enter the cycle and the following four are all a part of the cycle itself. To enter the cycle, ammonia is converted to carbamoyl phosphate. The urea cycle consists of four enzymatic reactions: one mitochondrial and three cytosolic.
Source : https://en.wikipedia.org/wiki/Urea_cycle