The urogenital system includes both the reproductive and excretory organs. The excretory system includes the kidneys, ureters, urinary bladder, and urethra. The kidneys function to eliminate wastes and regulate water balance and pH. They are bean-shaped organs located in the abdominal region. The urogenital system also includes the male and female reproductive organs. In males this includes the testes and male genital ducts which produce and transport sperm. In females the ovaries produce eggs which are released into the oviducts.