Chapter 3: Thermodynamics with a thermometer in the background