An increase in temperature causes an increase in the pressure of a gas because there…