What selective advantages drove the development of sexual reproduction, and how did it develop?

The need to reproduce. Every living thing needs to reproduce itself.