The antagonist opposes the main character.
The main character having the conflict is called the protagonist.
the antagonist
Antagonist
antagonist
A main conflict is the main problem that a character has in a story, or the main problem of the story
plots centered on a moralist conflict in which the main character were archtypes of good vs evil
The main character is the protagonist, so his opponent is the antagonist.
antagonist
External conflict
plots centered on a moralist conflict in which the main character were archtypes of good vs evil
No, the protagonist is almost always the main character (but not always). And it is true that he can be in conflict with himself (inner doubts, fears, duty-bound etc) but most often it is the antagonist that is in conflict with the main character.
The antagonist is the person or force that creates conflict for the main character in a literary work. They are often the character or element that the protagonist must overcome to achieve their goals or resolve the conflict in the story.