How is torture used?

Torture in it its primary use is getting other people to reveal information, in other cases it can be used to inflict pain on others . People actually torture other people just to get a sexual thrill, others for extreme punishments.