Some solids change directly into gas without becoming liquid: sublimation. Examples: camphor, naphthalene balls, ammonium chloride, iodine. The reverse (gas to solid) is deposition.
Pressure can change state too. Squeezing a gas pushes its particles closer; with cooling it can become a liquid. That is how LPG is stored.
Solid CO₂ is called dry ice. At normal pressure it turns straight into gas, which is why it is used to keep things very cold without making them wet.
Summary: a state can be changed by changing temperature or pressure.
Tap the diagram to enlarge it
📌 Remember these
- Camphor, naphthalene, dry ice sublime
- Pressure + cooling can liquefy gases
- State depends on temperature and pressure