Allopatric speciation: a population forms a new species while geographically isolated from its parent population, reducing gene flow. Sympatric speciation: a population becomes a new species by habitat differentiation without geographic separation.