Thermostatic Mixing Valve

An anti-scald device.

To enable the water temperature to be set exactly to the right temperature. 

Generally hidden in the vanity or behind an access panel and ideally installed during renovations.