Volatile substances, such as certain organic solvents and anesthetic gases, are primarily excreted through the lungs. The process involves the diffusion of these substances from the blood into the alveoli and then into the exhaled air. Pulmonary excretion is particularly important for substances that have a high vapor pressure and low solubility in water.