Ideal gas law cannot be applied to liquids because liquid has a constant volume. The ideal gas law equation is PV = nRT.