When energy is added to matter its temperature will rise. The temperature rise will depend on the mass which in turn depends on its density.
Part ofCombined ScienceMatter - Models and explanations
This video can not be played
Jonny Nelson explains density with a GCSE Physics practical experiment