Ecological communities are composed of interacting or potentially interacting organisms. Communities do not evolve per se; rather, they shift in composition, diversity, and structure through time. The assembly of local communities is influenced by both regional factors and local processes, each of which can influence evolutionary patterns and processes within those communities. We start by discussing early ecological and evolutionary debates on the nature of communities and then consider regional-historical perspectives codified by later researchers. We then consider recent research on the phylogenetic structure of communities, considering the myriad local and long-term biogeographic and macroevolutionary processes that can affect it. On shorter evolutionary timescales, we briefly treat the literature in community genetics and eco-evolutionary dynamics, which shows how community interactions can exert evolutionary pressures that then have further consequences at the community and ecosystem scales. In these sections, we mostly draw from studies on plant communities, but we also consider trophic interactions, particularly plant-insect interactions, and animal community guilds, such as Anolis lizards and dragonflies. We discuss the importance of an evolutionary perspective on communities for understanding ecosystem processes, and its relevance for conservation and restoration. Finally, we discuss seminal methods to examine the consequences of evolutionary processes for community assembly.