Why are there different modes of reproduction among animals?