The reason why caffeine is found in many different plants is because it acts as a naturally occurring insecticide.