A pH indicator is a halochromic chemical compound added in small amounts to a solution, so the solution's pH can be determined visually.