A gas acts more like an ideal gas at higher temperatures and lower pressures. This is because the potential energy between the gas molecules becomes negligible compared with their kinetic energy. Furthermore, the size of the molecules becomes less significant than the empty space between them at lower pressures.
Read more