OCD is regarded as an unpleasant emotional experience because of the powerful anxiety that accompanies in both obsessions and compulsions. The urge to repeat behaviour creates anxiety.
OCD is often accompanied by depression, so anxiety can be accompanied by low mood and lack of enjoyment in activities. Compulsive behaviour tends to bring some relief from anxiety but is temporary
OCD can involve negative emotions such as irrational guilt over minor moral issues which may be directed against something external like the self