What is the main function of the male reproductive system?