Step 1: Ideal gas behaviour assumes:
Negligible intermolecular forces
Negligible volume of gas molecules
Step 2: At high temperature, kinetic energy of gas molecules is very large, so the effect of intermolecular attractions becomes negligible.
Step 3: At low pressure, gas molecules are far apart, so their own volume and intermolecular forces can be ignored.
Step 4: Therefore, under conditions of high temperature and low pressure, a real gas behaves most like an ideal gas.