How does the device called a red herring typically function in a detective story?
a. It contrasts different settings.
b. It adds color to the theme.
c. It introduces the story's main character.
d. It serves as a false clue in the plot.