The small, oval sex glands of the male, located in the scrotum, that produce sperm and sex hormones.