The testes or testicles are the organs responsible for making testosterone, which is the primary male sex hormone.