Pressure and temperature in gases example:
water and food are placed inside a pressure cooker with a sealed lid.
when the water boils, the steam cannot escape so the pressure of the gas inside increases as well as the temperature.
there is a weight on top of the pressure cooker to control the pressure and valves that allow steam to escape, once the required pressure has been reached.