That is called sublimation.
The process of a substance turning from gas to solid is called deposition. This occurs when gas molecules lose energy and come together to form a solid.
Gas
When a solid, liquid , or gas is dissolved in another substance, the result is a solution.
Boiling a solid substance directly does not affect its pressure. However, when a solid substance boils and turns into a gas, the pressure can increase due to the expansion of the gas molecules.
A substance which changes state directly from a solid to a gas is said to have sublimed.
When a substance goes from a gas to a solid it is called deposition.
Iodine
Water
When a substance changes from a solid to a gas, called sublimation, it quickly becomes less dense.
Water exists in our environment as a liquid gas and solid.
Solid, liquid, gas, or plasma. A substance can occur in any one these states. All matter occurs in one of these 4 states. These are the 4 states of matter.
Sublimation is the unique property in which a substance can go from a solid to a gas without becoming a liquid. Sublimation is a phase transition.