Plant interactions with the biotic and abiotic environment determines plant survival in nature and yield in agriculture. We elucidate the strategies that plants employ to resist biotic stresses, with a particular focus on the role of plant secondary metabolites in plant-herbivore, plant-microbe and multitrophic interactions. By combining different techniques and plant models in an interdisciplinary approach, we aim at generating a flow of knowledge from single genes to ecological interactions across a gradient from wild systems to agriculture.