The image given in the question is the human male reproductive system.
A pair of testes (4) are situated inside the bag-like scrotum (3). Testes are the sites for sperm production. Sperms then travel through the accessory ducts in the order: rete testis, vasa efferentia, epididymis, vas deferens (6). Vas deferens loops over the urinary bladder (5) and joins the urethra (2). Sperms along with the secretions from accessory glands form the semen that reaches the penis through urethra. Penis (1) is the external genitalia.