What is extracted from cloves?

oil is extracted from clove which is used as a medicine, clove oil is also used in toothpaste and this oil is used as a medicine to cure toothache.