Why were people tortured during the Spanish Inquisition?

A. To get them to confess to heresy
B. To get them to read the Bible in Latin
C. To get them to accept indulgences
D. To get them to convert to Protestantism