Crop rotation decreases the incidence of pests by breaking the life cycles of pests. By planting different crops in a field over time, pests that rely on a particular crop to survive are deprived of their food source and their life cycle is disrupted. For example, if a field is planted with corn one year and soybeans the next, pests that thrive on corn will not be able to survive in the soybean field, reducing their population. Additionally, rotating crops can help maintain soil fertility, which can improve the health and resilience of crops and make them less susceptible to pest attacks. While crop rotation may also attract pest predators, such as beneficial insects, this is not the primary way in which it reduces pest incidence.