The competitive exclusion principle says that two species can't coexist if they occupy exactly the same niche (competing for identical resources). Two species whose niches overlap may evolve by natural selection to have more distinct niches, resulting in resource partitioning.