This takes place in the mitochondria located in the sperm's midpiece (at the base of the sperm head).