A gas that does not behave like an ideal gas is referred to as “real gas.”.
The interactions between gaseous molecules can explain their behavior.
Behavior of real gases:
At low pressures and high temperatures, real gases follow gas laws.
Due to the near proximity of the molecules of gases in high-pressure settings, molecular interactions begin to operate, and the molecules do not strike the container's walls.
Positive deviation and negative deviation with full impact are two sorts of deviations from optimal behavior that a real gas can exhibit.
The deviation of real gas from ideal gas can be shown in terms of the P vs V graph which is as follows: