In obsessive-compulsive disorder, which of the following best fits the definition of an "obsession"?
a. checking and rechecking whether doors are locked
b. washing one’s hands repeatedly
c. avoiding closed in spaces
d. thoughts that one cannot dismiss or control
e. excessive cleaning