Here's how it works:
* Gas: Water vapor in the air (a gas)
* Solid: Ice crystals (a solid)
When the temperature drops below freezing, the water vapor in the air loses energy and transitions directly from a gas to a solid. This happens on surfaces like grass, windows, or even your car windshield, forming a layer of frost.
This process is also known as deposition or desublimation.