We are studying the structure and dynamics of complex communities of interacting species. Our general aim is to uncover how the composition of ecological communities and macroscopic properties of ecological networks emerge from the interactions of individuals and evolve over longer time scales. This requires an integrative approach combining different methods, such as field observations, experiments, phylogenetic analyses and theoretical models.