This is how I understand it at the moment:
- A perfect fluid is a collection of non-interacting particles, which are as a whole characterised by energy and pressure.
- An ideal gas is also a collection of non-interacting particles, but here the ideal gas law holds. There, we have pressure, volume and temperature (let's assume a fixed number of particles for both cases), s.t. by applying the ideal gas law, again two parameters remain.
Furthermore, the stress-energy tensor of a perfect fluid can be seen e.g. here on Wikipedia, but I haven't found the stress-energy tensor of an ideal gas.