Dew point is determined by the amount of water present and RH is determined by the amount of water present and temperature.   The amount of water which the air can hold is determined by temperature.