Speciation occurs after a part of population becomes isolated by a isolation barrier, which can be geographical, ecological or behavioural. Different mutations occur in each sub-population. Natural selection selects for different mutations in each group, due to different selection pressures. Each sub-population evolves until they become so genetically different that they are now two different species.