Once used as a form of punishment for prisoners, this kind of training has taken on many forms for more than a century.