Abstinence is the act or habit of refraining from some tempting activity, usually sex, but also other activities such as alcohol consumption. Therefore, see:
Chastity does not refer to sexual abstinence as such. While it implies sexual abstinence for the unmarried, for the married it implies sexual activity, so long as it remains within the bounds of the marriage.