Male fish have testes and sperm ducts, while female fish have ovaries and oviducts. During mating, the male releases sperm into the water, and the female releases eggs, which are then fertilized externally.