A gas is enclosed in a metal container with a movable piston on top. Heat is added to the gas by placing a candle flame in contact with the container's bottom. Which of the following is true about the temperature of the gas?