The temperature is changed by adding heat from the torch. The volume is held constant with the piston..