It doesn't, water turns into steam, or a gas when heated. Water turns into a solid when cooled
Solid
It will usually change to liquid phase.
You can you change liquid water into a solid (ice) by lowering its temperature. You can you change liquid water into a gas (water vapor) by raising its temperature.
It gets further apart and turns into a pink purple colour
It is what is called a phase change.
When solid is heated and melt then it will change into gas
Let's consider the case of ice. Ice is a solid. When heated, it gets transformed to water. Water is a liquid. Further heating changes water into gas. Thus, heat can change a solid into both liquid and solid form.
Solid
A liquid is like a solid because a liquid I usually a heated solid Ex. Water is heated ice
When solid is heated and melt then it will change into gas
A solid can change Into a liquid when it is heated Example- when heated solid chocolate, the chocolate changes into a liquid. A liquid Can change into a solid when it is cooled Example - If you leave juice in the freezer , the liquid changes into a solid.
It will usually change to liquid phase.
Lard is solid animal fat, so it melts when heated.
Solid iodine is transformed by heating in a liquid at 113,7 oC.
It would first change from a solid to a liquid.
This physical change is called melting.
The intermolecular forces of attraction in the solid decreases as it is heated and the solid melts (solid converts to liquid) at its melting point.