What is the Definition of Antagonist?

An antagonist is the opposite of a hero, or protagonist, in literary works. It can be used in science and other fields to represent something taking action against something else.