Interactions between species are what define ecological communities, and community ecology studies these interactions anywhere they take place. Although interspecies interactions are mostly competitive, competition is pretty dangerous, so a lot of interactions are actually about side-stepping direct competition and instead finding ways to divvy up resources to let species get along.