A technique for separating components in a mixture that have different solubilities. For example, caffeine can be separated from coffee beans by washing the beans with supercritical fluid carbon dioxide; the caffeine dissolves in the carbon dioxide but flavor compounds do not. Vanillin can be extracted from vanilla beans by shaking the beans with an organic solvent, like ethanol.