You will have high levels of ammonia in your blood when the liver fails to convert ammonia to urea. This may occur due to hepatitis or cirrhosis. The liver produces ammonia which contains nitrogen. Nitrogen combines with other elements, – hydrogen, carbon and oxygen, to form urea, which is a waste product.