On which phenomenon does the temperature of a solid body depend?
The quantity of heat in a solid body determines its temperature.
Substances expand on heating and contract on cooling. If you heat a body, it alters its dimensions. Thermal expansion can be defined as the change in the length, width, height, or volume of any material on changing the temperature. Thermal expansion is very evident in solids as atoms are densely packed.