A thermostatic mixing valve (TMV) is a valve that blends hot and cold water to ensure a nearly constant output temperature, such as for safe shower and bath temperatures to prevent scalding.