OCD may be related to biology. This includes changes to the body's chemistry or the way a person's brain functions. OCD could also involve a person's genetics, which are the inherited traits they received from their parents.