Sublimation is the process by which a substance transitions directly from a solid to a gas without passing through the liquid state. This phenomenon occurs when the vapor pressure of the solid exceeds the surrounding pressure, allowing molecules to escape the solid phase and enter the gas phase. Examples of substances that undergo sublimation include dry ice (solid carbon dioxide) and mothballs (naphthalene).