The amount of water(g) that air can accommodate depends on temperature. The absolute humidity then is defined as the percentage of water to air and decreases when the temperature decreases. The relative humidity is the ratio between the current and the maximum humidity, which increases with decreasing temperature. The temperature at which the relative humidity reaches 100% is called the dew point.
Anyway, why can air keep more water when it is warmer?