An ideal gas is a model. It assumes that the particles are in constant random motion, that their own volume is negligible compared with the container, that there are no forces between them, and that collisions are perfectly elastic (no kinetic energy is lost). The average kinetic energy is proportional to the temperature in kelvin.
Real gases behave almost ideally at high temperature and low pressure, when the particles are fast and far apart. They deviate most at low temperature and high pressure. Then the particles are close and slow, so their volume and the attractions between them matter.
One equation links pressure, volume, temperature and amount: PV = nRT. Temperature must always be in kelvin.