Correct option is A
Pepper contains the pungent alkaloid piperine.
Ginger aroma is mainly due to zingiberene.
Clove essential oil is rich in eugenol.
Nutmeg contains sabinene as a major aromatic compound.
Thus the correct matching is Pepper-4, Ginger-1, Clove-2, Nutmeg-3.
Hence option (a) is correct.