Two classic ways to pull a compound out of plant material work on completely different principles. Steam distillation relies on volatility: boiling water generates steam that carries volatile compounds out of the plant tissue and up to a condenser, where the mixture cools and separates by density in a Florentine receiver. Soxhlet extraction relies on solubility: an organic solvent is boiled, its vapor condenses over the plant material held in a thimble, soaks through it, and once the chamber fills, a siphon empties the solvent (now carrying dissolved compound) back into the boiling flask — over and over, each cycle exhaustively re-extracting fresh solvent through the same solid.
Essential-oil producers use steam distillation precisely because it is gentle and fast for volatile aromatics, while Soxhlet-style exhaustive solvent extraction (or its modern descendants) is the standard when the target compound is not volatile enough to co-distil with steam — decaffeination and lipid extraction both work this way.
An interactive 3D lab comparing two real natural-product extraction methods side by side — steam distillation, which relies on volatility, against Soxhlet extraction, which relies on solvent solubility — with live yield curves for limonene, caffeine or menthol.
Steam distillation co-distils volatile compounds with water vapour into a Florentine receiver where the oil separates by density; Soxhlet extraction repeatedly refluxes and siphons a solvent through plant material, dissolving more compound each cycle. The same target compound behaves very differently under each method depending on its volatility and solvent affinity.
Use the camera-focus buttons to pan between the steam distillation rig, the Soxhlet rig, or both at once. Pick a target compound (Limonene, Caffeine or Menthol) to set its volatility and solvent affinity, then press Start extraction to watch both apparatuses run simultaneously and compare their live yield stats. Reset clears the plant stock, yield and elapsed time.
Caffeine is essentially non-volatile, so steam distillation recovers almost none of it — but it dissolves well in the right solvent, which is exactly why exhaustive solvent extraction (Soxhlet's principle) is the basis of industrial decaffeination.