Torture can be consensual or not. In SM, torture is generally used to indicate activities that involve pain of some sort. A common example is Cock and Ball Torture.