Chastity has two purposes:
- prevents orgasms
- prevents erections
The first gets all the attention; it makes you horny, eager, desperate.
But the second is a more subtle psychological effect; it makes you feel weak, emasculated, powerless, submissive.