Phytoalexins are antimicrobial compounds produced by plants in response to pathogens like fungi and bacteria. Some key phytoalexins include ipomeamarone from sweet potato, pisatin from pea pods, phaseollin from bean pods, and glyceollin I from soybeans. Phytoalexins are synthesized after the plant recognizes molecules from the pathogen. They function to inhibit pathogen growth through mechanisms like disrupting cell membranes or inhibiting energy production. Their production is part of the plant's defense response and helps contribute to resistance against diseases.