Yes exactly. Obsessive compulsive disorder vs obsessive personality disorder. Both are extremely different. The correct term really would be OPD not OCD, but OCD used in pop culture has gained a huge popularity.
An example on an OCD symptom if you think a bad though (important person in you life will die) you will do a compulsory act to mitigate the anxiety like say 13 prayers (sometimes the compulsion center on a number). And it manifests in other parts of the persons life, so if they have to go out of the house for example they check things over and over and over. It becomes a ritual to help cope with the anxiety. Or germs. Someone will scrub their skin raw and spend 3 hours in the shower (I had a client like that). It’s a horrible diagnosis for those tho live with it. So it’s not seeking perfection like how people’s misperception of OCD is.