Essential oils are obtained by distilling plants, flowers, leaves, bark, roots, or resins. Most oils are obtained by steam distillation, where hot steam is passed through the plants to extract the oil.