Step 1: Understanding the Concept
An ideal gas has no intermolecular forces and zero molecular volume.
Step 2: Conditions
At low pressure the molecules are far apart, so their volume is negligible compared with the container.
At high temperature the kinetic energy is large, so attractive forces hardly matter.
Step 3: Compare the options
A real gas behaves ideally at low pressure and high temperature, option (B).
Final Answer:
A real gas behaves as an ideal gas at low pressure and high temperature.
\[ \boxed{\text{(B) }\text{low pressure and high temperature.}} \]