A mycotoxin (from Greek μύκης (mykes, mukos) "fungus" and τοξικόν (toxikon) "poison") is a toxic secondary metabolite produced by organisms of the fungus kingdom. The term 'mycotoxin' is usually reserved for the toxic chemical products produced by fungi that readily colonize crops. One mold species may produce many different mycotoxins, and several species may produce the same mycotoxin.
Most fungi are aerobic (use oxygen) and are found almost everywhere in extremely small quantities due to the minute size of their spores. They consume organic matter wherever humidity and temperature are sufficient. Where conditions are right, fungi proliferate into colonies and mycotoxin levels become high. The reason for the production of mycotoxins is not yet known; they are not necessary for the growth or the development of the fungi. Because mycotoxins weaken the receiving host, the fungus may use them as a strategy to better the environment for further fungal proliferation. The production of toxins depends on the surrounding intrinsic and extrinsic environments and these substances vary greatly in their toxicity, depending on the organism infected and its susceptibility, metabolism, and defense mechanisms.
Aflatoxins are a type of mycotoxin produced by Aspergillus species of fungi, such as A. flavus and A. parasiticus. The umbrella term aflatoxin refers to four different types of mycotoxins produced, which are B1, B2, G1, and G2. Aflatoxin B1, the most toxic, is a potent carcinogen and has been directly correlated to adverse health effects, such as , in many animal species. Aflatoxins are largely associated with commodities produced in the tropics and subtropics, such as cotton, peanuts, spices, pistachios, and maize.