You would use a bimetallic strip as the special component in a thermostat so it can respond to changes in temperature.

A bimetallic strip is made by bonding two different metals that expand at different rates when heated. As the temperature changes, one metal expands more than the other, causing the strip to bend; this bending motion is then used to open or close an electrical contact and turn heating or cooling on or off.