The nature of sex