According to evolutionary theory, how does a new species develop?

According to evolutionary theory, how does a new species develop?