They incorporate a temperature sensitive element which expands and contracts depending on the temperature of the water flowing across it. This action of the element in turn moves a piston which shuttles between the hot and cold ports. In doing so the valve maintains an essentially constant outlet temperature, and thus reduces the risk of scalding accidents.