Real gases or non-ideal gases are different from ideal gases.
At intermediate pressures and low temperatures, attractive intermolecular interactions draw molecules together, resulting in a lower pressure than an ideal gas under the same circumstances.
Attractive intermolecular interactions also bring molecules together at low pressures and high temperatures, but their effects are much less.
The volume filled by the molecules themselves significantly lowers the volume of space in which they are free to move at very high pressures, hence the pressure is higher than that for an ideal gas under the same set of circumstances.
The Van der Waals equation is frequently used to simulate non-ideal gases:
Where, are constants for a particular gas, with pressure , volume , number of moles , and absolute temperature .