Ajwain contains thymol, an essential oil that gives the spice its distinct taste and aroma. Another spice that contains thymol is thyme, and this is probably why both ajwain and thyme have similar aromas. Most of ajwain's health benefits can be attributed to the presence of thymol.