Heat can be defined as the energy which flows from the body of a higher temperature to a body of lower temperature.
When two bodies of different temperatures are brought in contact, then heat flows from the body with a higher temperature to the body with a lower temperature until both the body reaches equilibrium temperature.
This process of transfer of heat is called conduction.