Inelastic scattering is the scattering event in which heat is produced. But we know that heat is also due to particles' vibration. Therefore when the vibration is made in target by incident particle, the target would vibrate (in other words, phonons or heat are produced). Thus heat is a type of vibration. So what is the difference between elastic and inelastic scatterings?