Liquids form by condensation of gases and melting of solids. Liquids: Liquids can vaporize into gases or freeze into solids. Solids form by deposition from gases or freezing of liquids. Solids: Solids can melt into liquids or sublime into gases.
Another way to list phase changes is by states of matter: