Defensive structures and chemicals are costly as they require resources that could otherwise be used by plants to maximize growth and reproduction. In some situations, plant growth slows down when most of the nutrients are being used for the generation of toxins or regeneration of plant parts. Many models have been proposed to explore how and why some plants make this investment in defenses against herbivores.