Unlike walnuts and pecans, peanuts are grown beneath the soil. And for this reason, they are prone to infections, especially aflatoxins. Aflatoxins are produced by the soil-dwelling fungi (mold) Aspergillus flavus and A. parasiticus. In peanuts and other nuts and grains, it is the most important of the mycotoxins from a human health perspective.