it all boils down to the presence of allicin, the sulphur compound responsible for that instantly recognisable garlicky taste. ... those all-important garlic enzymes are inactivated by heat, and the allicin compound is destroyed during cooking. so garlic mellows as it cooks, and is most pungent in it fresh, raw form.