Obsessive-compulsive disorder (OCD) is a psychiatric disorder; more specifically, it is an anxiety disorder.
See also:
OCD is manifested in a variety of forms, but it is most commonly characterized by a subject's obsessive, distressing, intrusive thoughts and related compulsions (tasks or rituals) which attempt to neutralize the obsessions.
It is important to distinguish OCD from other types of anxiety, including the routine tension and stress that appear throughout life.
A person who shows signs of infatuation or fixation with a subject/object, or displays traits such as perfectionism, does not necessarily have OCD, a specific and well-defined condition..
For more information about the topic Obsessive-compulsive disorder, read the full article at Wikipedia.org, or see the following related articles:

