Litmus is a water-soluble dye obtained from lichens, primarily used as an acid-base indicator. It changes color in response to pH levels, turning red in acidic solutions (pH below 7) and blue in alkaline solutions (pH above 7). This property makes litmus a useful tool for determining the acidity or alkalinity of various substances.