A pH indicator is a substance that changes color in response to changes in the pH of a solution, typically used to determine the acidity or basicity of a solution.