A real gas behaves least like an ideal gas under the conditions of low temperature and high pressure.
This is because at low temperature and high pressure molecules of gas will have negligible kinetic energy and strong force of attraction. Thus, real gas will not behave like an ideal gas.
Whereas at high temperature and low pressure a real gas will behave like an ideal gas.