Allicin is not present in garlic in its natural state but is released when the cloves are crushed or finely chopped.
Allicin breaks down quickly and is destroyed by cooking.
External links Chemistry of allicin