Obsessive-compulsive disorder (OCD) is a mental disorder characterized by unwanted and repeated thoughts (obsessions) and behaviors (compulsions). It can range from mild to severe and negatively impact daily functioning if left untreated. While historically thought to be caused by religious or moral failings, modern research indicates OCD has biological and genetic causes involving abnormalities in brain circuits. Serotonin dysregulation and infections have also been linked to OCD development. Diagnosis requires obsessions, compulsions, or both according to diagnostic criteria and can be performed by a mental health professional.