Olive oil is a liquid obtained from olives, a traditional tree crop of the Mediterranean Basin. The oil is produced by pressing whole olives. It is commonly used in cooking, for frying foods or as a salad dressing. It is also used in cosmetics, pharmaceuticals and soaps. Olive trees have been grown around the Mediterranean since the 8th millennium BC.