The pH value can also be measured in some solid and semi-solid materials such as soil, gels, creams, or even certain foods. In such cases, a specific amount of the material is mixed with a solvent like water before testing its pH. This allows for a broader application of the pH concept beyond just liquids.