yes a vet explained this to me once when I was assisting him gelding colts, See there is a long tube that connects the balls to the penis ,halfway along this there is a gland that kinda looks like a little brain part of gelding is the removal of this along with testicles,failure do do so results in a horse that doesn't know he's a gelding, That's' Proud Cut'

image