What happens to the temperature of a gas when it is compressed?
The temperature decreases.
According to Charle's - GayLussac's Law, the volume of a fixed amount of gas maintained at constant pressure is directly proportional to its temperature.
When the gas is compressed it means that the volume decreases. As Charle's - GayLussac's Law states, we could predict that the temperature of the gas would also decrease.