Temperature is a measure of the average kinetic energy of the particles in a sample of a gas.
Kinetic energy is the energy possessed by an object because of its motion. As an object absorbs heat the particles move faster so the average kinetic energy and therefore the temperature increases.
When the temperature of a body or an object is increased and hence the heat, there is more movement or vibration of particles which translates to more kinetic energy.