A fridge thermostat contains a phial with an inert gas that expands or contracts with temperature changes. This movement triggers a switch mechanism connected to a compressor, which powers the refrigerator until the desired internal temperature is achieved.