* Liquid to Gas: This is called vaporization or evaporation.
* Gas to Solid: This is called deposition.
It's important to remember that a substance can't directly transition from a liquid to a solid without going through the gas phase. Therefore, the process you described is actually two separate events: vaporization followed by deposition.
Here's an example:
Imagine water in a pot on a stove.
1. Liquid to Gas (Vaporization): As you heat the water, it reaches its boiling point and turns into steam (water vapor).
2. Gas to Solid (Deposition): If you have a very cold surface nearby, the water vapor can condense directly onto the surface and freeze, forming ice (solid water).
Let me know if you have any other questions about the states of matter!