Step-by-step explanation:
A process in which a solid changes directly into gaseous state without undergoing liquid state is known as sublimation.
For example, when a solid carbon dioxide changes into gas then this process of state change is known as sublimation.
Whereas if gas is changing into solid state then it means that molecules of the gas comes closer to each other due to decrease in their kinetic energy.
This process of gas changing into solid state is known as deposition.