How pressure cooker follows ideal gas equation?

we know that if the external pressure increases so the boiling point increases too therefore pressure cookers are used at higher altitudes where there are generally low external pressure so pressure cookers provide artificial pressure and food can be cooked earlier