Gay-Lussac's law applies exclusively to gases, not to liquids or solids. This law, which relates pressure and temperature, assumes that the volume and the amount of gas are constant, conditions that do not hold for liquids or solids in the same way.