In ideal gases the molecules are considered as point particles and for point particles, there is no internal excitation, no vibration and no rotation. For an ideal gas the internal energy can only be translational kinetic energy and for real gas both kinetic as well as potential energy.