Understanding pH in the Equine Digestive Tract

In-depth discussions of the equine digestive tract invariably mention pH, especially in reference to the stomach and hindgut. What is pH and how does it factor in the well-being of horses?