While the adrenal glands in both males and females also produce a small amount of androgens, the testes are the major source.