In the words of the great Jon Luc Picard:

It is a wonder that [torture] is still practiced at all. As a means of gathering information it is at best unreliable. And as a means of controlling someone it is ultimately self defeating.