For example, urine with a lower pH (more acidic) tends to inhibit the growth of bacteria, and urine that is high in ammonia (more alkaline or basic) may impede the body's immune response to a urinary tract infection.