The temperature of a substance is the degree of hotness or coldness of the substance. A hot substance is said to have a high temperature whereas a cold substance is said to have a low temperature. Therefore, the temperature of a substance is an indication of the average kinetic energy of the molecules of the substance. Heat always flow from a body at higher temperature to the body at lower temperature. So, we can also say that temperature of a body is the property which governs the flow of heat. It can easily be demonstrated as follows:
When two objects of the same material are placed together, the object with higher temperature cools while the cooler object gets warmer until a point is reached after which no more changes occurs.
Relative humidity is the ratio of the partial pressure of water vapor to the equilibrium vapor pressure of water at a given temperature. Relative humidity depends on temperature and the pressure of the system of interest. The same amount of water vapor results in higher relative humidity in cool air than warm air.