pH indicators are chemical compounds that change color based on the pH level of the environment. They are used to measure the acidity or alkalinity of a solution. In histology, pH indicators are incorporated into staining solutions to differentiate between various cellular components.