What is the main goal of a story's antagonist?

A. To stop the hero from doing the right thing
B. To distract the reader from the story's plot
C. To introduce the conflict of the story
D. To provide obstacles for the protagonist