garlic is actually toxic. don't believe me? cut it up into small pieces and see how fast your eyes water. that is because it is releasing something called allicin to protect it from being eaten
onions and garlic are both not something i recommend for that reason. a lot of people are downright intolerant to it.