garlic contains some very strong compounds, including allicin.
it is what gives it the ability to make you cry when you cut it.. it gets released.
i'm going to say something though that 99% of guys will disagree with but garlic and onions are really not that good for you overall. in fact most people have a really hard time digesting them.