The process that led to the insect resistance can best be explained by