OCD is an anxiety disorder and stands for Obsessive Compulsive Disorder which is a condition characterized by persistent and…