Glutamate dehydrogenase is an enzyme observed in both prokaryotes and eukaryotic mitochondria. The aforementioned reaction also yields ammonia, which in eukaryotes is canonically processed as a substrate in the urea cycle. Typically, the α-ketoglutarate to glutamate reaction does not occur in mammals, as glutamate dehydrogenase equilibrium favours the production of ammonia and α-ketoglutarate. Glutamate dehydrogenase also has a very low affinity for ammonia, and therefore toxic levels of ammonia would have to be present in the body for the reverse reaction to proceed. In the brain, the NAD+/NADH ratio in brain mitochondria encourages oxidative deamination. In bacteria, the ammonia is assimilated to amino acids via glutamate and aminotransferases. In plants, the enzyme can work in either direction depending on environment and stress. Transgenic plants expressing microbial GLDHs are improved in tolerance to herbicide, water deficit, and pathogen infections. They are more nutritionally valuable.