They are extracted from the spices using the steam distillation process. They are volatile in nature and are imbued with the flavour and aroma of the spice they are extracted from.
Some of the most common ways to use them are adding flavour to food, promoting digestion, relieving pain, and fighting inflammation.