Compulsions are repetitive behaviors or mental acts that a person feels driven to perform in order to reduce anxiety or prevent a dreaded event. They are a core feature of obsessive-compulsive and related disorders, which involve intrusive thoughts (obsessions) and the urge to engage in behaviors (compulsions) to alleviate the distress caused by those thoughts.