Some solids change into the gaseous
state without melting into a liquid on heating. The
vapour condenses back to form the solid on the cooler
sides at the mouth of the test-tube.
For example:
I2
(s)
heat
-----> <----- cooling
I2
(g)
Black iodine crystals sublime to form violet
iodine vapour on heating.