Deviation of real gases from ideal behaviour
The ideal gas law can be derived using kinetic molecular theory by making two very important assumptions that are not true for real gases:


There is no attractive force between gas molecules
The gas molecules have no volume


Think about how the PV curve would change when you remove one or both of these conditions. Then think about which types of molecules the assumption of "no attractive force" would be more important for.