Caffeine comes from other plants as well. It is in guarana, yerba maté, cacao, and some plants used to make tea. The plants use caffeine as a "pesticide". This is a chemical that kills insects if they eat the plant. It is the way the plant protects itself.