Humidity is the amount of water vapor in a gas such as a portion of the atmosphere. The temperature and makeup of the gas determines a maximum amount of water vapor the air can hold (saturation), and a measure of humidity as a percentage of this amount is termed relative humidity. A measure based purely on mass, i.e., that of water vapor as a percentage of that of the total gas mixture, is termed specific humidity.
The concept of the humidity applies to the atmospheres of other worlds, thus are of interest in atmospheric models for them. This includes some solar system planets and moons as well as some extra-solar planets. It may be used in analogy for other substances that can occur as either a gas or liquid on a world, e.g., for methane on Titan.