Question: what is the purpose of soxhlet apparatus?
Answer: It was originally designed for the extraction of a lipid from a solid material. Typically, Soxhlet extraction is used when the desired compound has a limited solubility in a solvent, and the impurity is insoluble in that solvent.