Heat is a one of the form of energy. Sun is the main source of heat energy. Whenever an object at a higher temperature is brought into contact with an object at lower temperature heat energy is transferred from the object of higher temperature to the object of lower temperature. The transfer of the heat energy would continue till both objects attain the same temperature.