How is temperature controlled?

By using cooling units, heaters, insulation, and temperature sensors to regulate and monitor the temperature.